Fix bug in script

This commit is contained in:
Laurence Withers 2007-02-19 22:09:23 +00:00
parent ba0e8e7de7
commit 804869d587
1 changed files with 1 additions and 1 deletions

View File

@ -4,5 +4,5 @@ for pkg in $@
do
varname="$(echo "${pkg}" | tr a-z A-Z)"
echo '[ -z "${'${varname}'_CFLAGS}" ] && '${varname}'_CFLAGS="$('${pkg}'-config --cflags)"'
echo '[ -z "${'${varname}'_LIBS}" ] && '${varname}'_LIBS="$('${pkg}'-config --cflags)"'
echo '[ -z "${'${varname}'_LIBS}" ] && '${varname}'_LIBS="$('${pkg}'-config --libs)"'
done