]> ncurses.scripts.mit.edu Git - ncurses.git/blobdiff - misc/ncurses-config.in
ncurses 6.1 - patch 20191228
[ncurses.git] / misc / ncurses-config.in
index 1054408178925cae3f2d83095ce1855640548085..9028fc5e10c1d719b0deac8ac1b39d0ca7dde470 100644 (file)
@@ -1,5 +1,5 @@
 #!@SHELL@
-# $Id: ncurses-config.in,v 1.39 2019/09/28 12:54:17 tom Exp $
+# $Id: ncurses-config.in,v 1.42 2019/12/25 00:54:55 tom Exp $
 ##############################################################################
 # Copyright (c) 2006-2018,2019 Free Software Foundation, Inc.                #
 #                                                                            #
@@ -86,7 +86,7 @@ if [ x@WITH_OVERWRITE@ = xno ]; then
        esac
 fi
 
-LIBS="@LIBS@ @PRIVATE_LIBS@"
+LIBS="@LIBS@"
 if [ "@TINFO_NAME@" = "@LIB_NAME@" ]; then
        LIBS="-l${THIS} $LIBS"
 else
@@ -103,6 +103,12 @@ lib_flags=
 for opt in -L$libdir @LDFLAGS@ @EXTRA_LDFLAGS@ $LIBS
 do
        case $opt in
+       -specs*) # ignore linker specs-files which were used to build library
+               continue
+               ;;
+       -Wl,-z,*) # ignore flags used to manipulate shared image
+               continue
+               ;;
        -L*)
                [ -d ${opt##-L} ] || continue
                case ${opt##-L} in