Fix bug in script
This commit is contained in:
parent
ba0e8e7de7
commit
804869d587
|
@ -4,5 +4,5 @@ for pkg in $@
|
||||||
do
|
do
|
||||||
varname="$(echo "${pkg}" | tr a-z A-Z)"
|
varname="$(echo "${pkg}" | tr a-z A-Z)"
|
||||||
echo '[ -z "${'${varname}'_CFLAGS}" ] && '${varname}'_CFLAGS="$('${pkg}'-config --cflags)"'
|
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
|
done
|
||||||
|
|
Loading…
Reference in New Issue