#!@SHELL@
-# $Id: ncurses-config.in,v 1.39 2019/09/28 12:54:17 tom Exp $
+# $Id: ncurses-config.in,v 1.41 2019/10/12 21:25:17 tom Exp $
##############################################################################
# Copyright (c) 2006-2018,2019 Free Software Foundation, Inc. #
# #
esac
fi
-LIBS="@LIBS@ @PRIVATE_LIBS@"
+LIBS="@LIBS@"
if [ "@TINFO_NAME@" = "@LIB_NAME@" ]; then
LIBS="-l${THIS} $LIBS"
else
for opt in -L$libdir @LDFLAGS@ @EXTRA_LDFLAGS@ $LIBS
do
case $opt in
+ -Wl,-z,*) # ignore flags used to manipulate shared image
+ continue
+ ;;
-L*)
[ -d ${opt##-L} ] || continue
case ${opt##-L} in