]> ncurses.scripts.mit.edu Git - ncurses.git/blobdiff - misc/gen-pkgconfig.in
ncurses 6.3 - patch 20220729
[ncurses.git] / misc / gen-pkgconfig.in
index fa095471b6e15e6e78bdef2d51b9313cb453253b..cc6791e13f12cf3141458e0797c94b5b673c45ab 100644 (file)
@@ -1,5 +1,5 @@
 #!@SHELL@
-# $Id: gen-pkgconfig.in,v 1.53 2022/07/16 17:07:38 tom Exp $
+# $Id: gen-pkgconfig.in,v 1.54 2022/07/26 20:19:50 tom Exp $
 ##############################################################################
 # Copyright 2018-2021,2022 Thomas E. Dickey                                  #
 # Copyright 2009-2015,2018 Free Software Foundation, Inc.                    #
@@ -98,6 +98,9 @@ do
        -Wl,--dynamic-linker*) # ignore ELF interpreter
                continue
                ;;
+       -Wl,--as-needed|-Wl,--build-id=*|-Wl,-dT,*|-Wl,-T,*)
+               continue
+               ;;
        -L*)
                lib_check=`echo "x$opt" | sed -e 's/^.-L//'`
                [ -d "$lib_check" ] || continue