From aeb80b76a6200008ffb18bf147aa97eec330fde3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luc=C3=ADa=20Andrea=20Illanes=20Albornoz?= Date: Tue, 27 Dec 2022 10:23:16 +0100 Subject: patches/ncurses-6.3.local.patch: don't prepend -L$libdir in ncurses*-config scripts. --- patches/ncurses-6.3.local.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'patches') diff --git a/patches/ncurses-6.3.local.patch b/patches/ncurses-6.3.local.patch index eceea5c7..5dfd9b6a 100644 --- a/patches/ncurses-6.3.local.patch +++ b/patches/ncurses-6.3.local.patch @@ -118,3 +118,14 @@ diff -ru ncurses-6.3.orig/misc/run_tic.in ncurses-6.3/misc/run_tic.in : ${source:=@TERMINFO_SRC@} : ${LN_S:="@LN_S@"} : ${cross_compiling:=no} +--- ncurses-6.3/misc/ncurses-config.in.orig 2021-08-07 23:36:14.000000000 +0200 ++++ ncurses-6.3/misc/ncurses-config.in 2022-12-27 10:22:34.532835499 +0100 +@@ -101,7 +101,7 @@ + # There is no portable way to find the list of standard library directories. + # Require a POSIX shell anyway, to keep this simple. + lib_flags= +-for opt in -L$libdir @EXTRA_PKG_LDFLAGS@ $LIBS ++for opt in @EXTRA_PKG_LDFLAGS@ $LIBS + do + case $opt in + -specs*) # ignore linker specs-files which were used to build library -- cgit v1.2.3