#!@SHELL@
-# $Id: gen-pkgconfig.in,v 1.52 2021/08/07 21:36:33 tom Exp $
+# $Id: gen-pkgconfig.in,v 1.54 2022/07/26 20:19:50 tom Exp $
##############################################################################
-# Copyright 2018-2020,2021 Thomas E. Dickey #
+# Copyright 2018-2021,2022 Thomas E. Dickey #
# Copyright 2009-2015,2018 Free Software Foundation, Inc. #
# #
# Permission is hereby granted, free of charge, to any person obtaining a #
-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
echo "** creating ${name}${suffix}.pc"
cat >${name}${suffix}.pc <<EOF
-# pkg-config file generated by `basename $0`
+# pkg-config file generated by `basename "$0"`
# vile:makemode
prefix=$show_prefix