3 # A preprocessor for linker arguments, which replaces references to .pc
4 # files by results of the proper calls to pkg-config.
6 # (c) 2007 Martin Mares <mj@ucw.cz>, placed under GNU LGPL
12 while [ -n "$1" ] ; do
14 *.pc) PC="$PC `basename $1 .pc`"
21 if [ -n "$PC" ] ; then
23 PKG_CONFIG_PATH="$PKG_CONFIG_PATH:obj/pkgconfig" pkg-config $PKG_CONFIG_OPTS --libs $PC