X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=misc%2Fncurses-config.in;h=a4b89c5a5428ea3669ccb8deb58c1b77b145e9dc;hp=244e592c1cf8aceee7b6183e8782695c5a6d0a2d;hb=2ba352d86b57bddd1dd2a6e20892f380c34180b7;hpb=b025434573f466efe27862656a6a9d41dd2bd609;ds=sidebyside diff --git a/misc/ncurses-config.in b/misc/ncurses-config.in index 244e592c..a4b89c5a 100644 --- a/misc/ncurses-config.in +++ b/misc/ncurses-config.in @@ -1,7 +1,8 @@ #!@SHELL@ -# $Id: ncurses-config.in,v 1.41 2019/10/12 21:25:17 tom Exp $ +# $Id: ncurses-config.in,v 1.44 2020/05/23 17:56:52 tom Exp $ ############################################################################## -# Copyright (c) 2006-2018,2019 Free Software Foundation, Inc. # +# Copyright 2018-2019,2020 Thomas E. Dickey # +# Copyright 2006-2015,2017 Free Software Foundation, Inc. # # # # Permission is hereby granted, free of charge, to any person obtaining a # # copy of this software and associated documentation files (the "Software"), # @@ -100,9 +101,12 @@ fi # 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 @LDFLAGS@ @EXTRA_LDFLAGS@ $LIBS +for opt in -L$libdir @LDFLAGS@ @EXTRA_PKG_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 ;;