ncurses/ncurses-5.7-20100116-config.patch
Miroslav Lichvar fcf8ecd167 - update to patch 20100116
- don't require -ltinfo when linking with --no-add-needed
2010-01-18 15:44:53 +00:00

34 lines
974 B
Diff

diff -up ncurses-5.7/misc/ncurses-config.in.config ncurses-5.7/misc/ncurses-config.in
--- ncurses-5.7/misc/ncurses-config.in.config 2010-01-18 14:35:20.000000000 +0100
+++ ncurses-5.7/misc/ncurses-config.in 2010-01-18 14:37:01.000000000 +0100
@@ -35,7 +35,6 @@ exec_prefix="@exec_prefix@"
bindir="@bindir@"
includedir="@includedir@"
-libdir="@libdir@"
datadir="@datadir@"
mandir="@mandir@"
@@ -85,11 +84,11 @@ ENDECHO
--libs)
if test @TINFO_NAME@ = @LIB_NAME@ ; then
sed -e 's,^[ ]*,,' -e 's, [ ]*, ,g' -e 's,[ ]*$,,' <<-ENDECHO
- -L$libdir @EXTRA_LDFLAGS@ -l${THIS} @LIBS@
+ @EXTRA_LDFLAGS@ -l${THIS} @LIBS@
ENDECHO
else
sed -e 's,^[ ]*,,' -e 's, [ ]*, ,g' -e 's,[ ]*$,,' <<-ENDECHO
- -L$libdir @EXTRA_LDFLAGS@ -l${THIS} -l${TINFO_LIB} @LIBS@
+ @EXTRA_LDFLAGS@ -l${THIS} -l${TINFO_LIB} @LIBS@
ENDECHO
fi
;;
@@ -114,7 +113,6 @@ ENDECHO
echo "${includedir}"
;;
--libdir)
- echo "${libdir}"
;;
--mandir)
echo "${mandir}"