aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/patches/readline-link-ncurses.patch
blob: 0fd0598f4650f171b59d10d4cec370e5ecee2a95 (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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@
4-14 17:42:08 +0200'>2019-04-14installer: Add wpa-supplicant along with NetworkManager and Connman....Ludovic Courtès 2019-04-08installer: Use 'append' and 'list' instead of 'cons*'....Ludovic Courtès 2019-04-08installer: Generate 'set-xorg-configuration' snippet....Ludovic Courtès 2019-04-08installer: Xfce service uses the 'service' form....Ludovic Courtès 2019-04-07installer: Internationalize service "names"....Ludovic Courtès 2019-04-07installer: Offer NM, Connman, and DHCP to non-desktop installs....Ludovic Courtès 2019-04-07installer: Add dialog to select networking services....Ludovic Courtès 2019-04-07installer: Generalize desktop environments to system services....Ludovic Courtès 2019-03-27services: Deprecate 'xfce-desktop-service'....Ludovic Courtès 2019-03-27services: Deprecate 'gnome-desktop-service'....Ludovic Courtès 2019-03-27installer: Use the (service …) form for MATE....Ludovic Courtès 2019-01-17installer: Add services page....Mathieu Othacehe