Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
32959: build: link libncurses statically r=knz a=knz The Unix world is in the process of upgrading from libncurses ABI 5.0 to libncurses ABI 6.0. The ABIs are incompatible in both directions, so we can't support systems that ship libncurses 5.0 and systems that ship libncurses 6.0 at the same time. Link libncurses statically to sidestep the issue. Note that we don't bother vendoring ncurses like we do for our other C/C++ dependencies, because we don't particularly care about what version of ncurses we link. Nearly all extant versions of ncurses (5.0-6.1) are source compatible, and bug fixes in recent releases rarely affect the low-level terminfo APIs that we depend upon. Take the opportunity to upgrade to ncurses 6.1 as well. It doesn't fix any bugs we know of, but it's good to stay up to date. Fix #32281. Release note (build change): ncurses is now linked statically so that the cockroach binary no longer requires a particular version of the ncurses shared library to be available on deployment machines. Co-authored-by: Nikhil Benesch <nikhil.benesch@gmail.com>
- Loading branch information
Showing
4 changed files
with
7 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters