X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=misc%2Fncurses-config.in;h=7f8ba697d118f4ce15a0f5440803aee5e32db335;hp=e95227e3f3dc2d343723cbc990fa16ad7a061314;hb=54d0d62f0eb759e3c623a215d98ddebccca64488;hpb=8d8a3537cd58af7879c6e1921235daeed2b74926 diff --git a/misc/ncurses-config.in b/misc/ncurses-config.in index e95227e3..7f8ba697 100644 --- a/misc/ncurses-config.in +++ b/misc/ncurses-config.in @@ -1,7 +1,8 @@ #!@SHELL@ -# $Id: ncurses-config.in,v 1.40 2019/10/05 22:24:20 tom Exp $ +# $Id: ncurses-config.in,v 1.43 2020/02/02 23:34:34 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"), # @@ -103,6 +104,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