aboutsummaryrefslogtreecommitdiff
This patch is to make sure that `libncurses' is among the `NEEDED'
dependencies of `libreadline.so' and `libhistory.so'.

Failing to do that, applications linking against Readline are
forced to explicitly link against libncurses as well; in addition,
this trick doesn't work when using GNU ld's `--as-needed'.

--- shlib/Makefile.in	2009-01-06 18:03:22.000000000 +0100
+++ shlib/Makefile.in	2009-07-27 14:43:25.000000000 +0200
@@ -84,7 +84,7 @@ SHOBJ_LDFLAGS = @SHOBJ_LDFLAGS@
 SHOBJ_XLDFLAGS = @SHOBJ_XLDFLAGS@
 SHOBJ_LIBS = @SHOBJ_LIBS@
 
-SHLIB_XLDFLAGS = @LDFLAGS@ @SHLIB_XLDFLAGS@
+SHLIB_XLDFLAGS = @LDFLAGS@ @SHLIB_XLDFLAGS@ -lncurses
 SHLIB_LIBS = @SHLIB_LIBS@
 
 SHLIB_DOT = @SHLIB_DOT@
s/gl.scm?id=6018d1ee600787d36ccc39af3fe35e5b167e310b'>gnu: libglvnd: Update to 1.3.2....Tobias Geerinckx-Rice 2020-06-12gnu: mesa: Ensure replacements are inherited in special variants....Marius Bakke 2020-06-12gnu: mesa: Replace with 20.0.8....Marius Bakke 2020-05-26Merge branch 'master' into stagingMarius Bakke 2020-05-26gnu: mesa-headers: Do not inherit outputs from Mesa....Marius Bakke 2020-05-26gnu: Mesa: Fix substitutions for absolute library references....Marius Bakke 2020-05-26gnu: Mesa: Remove obsolete phase....Marius Bakke 2020-05-26gnu: Mesa: Remove unused input....Marius Bakke 2020-05-26gnu: Mesa: Install scripts to a separate output....Marius Bakke 2020-05-26Merge branch 'master' into stagingMarius Bakke 2020-05-26gnu: Mesa: Fix ineffective substitution on i686-linux....Marius Bakke 2020-05-26gnu: mesa: Build with LLVM 10....Marius Bakke 2020-05-26gnu: mesa: Update to 20.0.7....Marius Bakke 2020-05-23gnu: Add libglvnd....Marius Bakke 2020-05-20news: Add ‘nl’ translation....Tobias Geerinckx-Rice 2020-05-13mailmap: Update entries for Nikita....nikita 2020-05-02Merge branch 'master' into core-updatesMarius Bakke 2020-05-02gnu: nanovg-for-extempore: Update to 0.7.1-0.3c60175....Giacomo Leidi 2020-03-29gnu: mesa: Enable rockchip support on aarch64/armhf....Vagrant Cascadian