X-Git-Url: http://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=misc%2Fncurses-config.in;h=7b02ac27dc30faaa8c4e612a943a9c0ab8deb062;hp=c6851ebd206f23d28c723f29f1cd8d648bdf9814;hb=f6b436c4fb50275df43ea10ba9c744fe195a327d;hpb=a5fe3726f7d4374e9b1551b535c8617b423996f2 diff --git a/misc/ncurses-config.in b/misc/ncurses-config.in index c6851ebd..7b02ac27 100644 --- a/misc/ncurses-config.in +++ b/misc/ncurses-config.in @@ -1,5 +1,5 @@ #!@SHELL@ -# $Id: ncurses-config.in,v 1.48 2021/04/17 22:22:52 tom Exp $ +# $Id: ncurses-config.in,v 1.50 2021/08/07 21:36:14 tom Exp $ ############################################################################## # Copyright 2018-2020,2021 Thomas E. Dickey # # Copyright 2006-2015,2017 Free Software Foundation, Inc. # @@ -98,7 +98,7 @@ fi # are standard library directories (i.e., the linker is supposed to search # those directories). # -# There is no portable way to find the list of standard library directories. +# 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 @@ -110,6 +110,9 @@ do -Wl,-z,*) # ignore flags used to manipulate shared image continue ;; + -Wl,--dynamic-linker*) # ignore ELF interpreter + continue + ;; -L*) lib_check=`echo "x$opt" | sed -e 's/^.-L//'` [ -d "$lib_check" ] || continue