From: Adam Dickmeiss Date: Thu, 25 Dec 2008 11:58:10 +0000 (+0100) Subject: Fixed check for custom cflags X-Git-Tag: v3.0.40~16 X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=commitdiff_plain;h=76f5f8bd7124c8643be25e0d9838e5897e19df8a;ds=sidebyside Fixed check for custom cflags --- diff --git a/buildconf.sh b/buildconf.sh index 5ce967c..dff3467 100755 --- a/buildconf.sh +++ b/buildconf.sh @@ -66,7 +66,7 @@ case $1 in esac if $enable_configure; then - if test -n "$sh_flags"; then + if test -n "$sh_cflags"; then CFLAGS="$sh_cflags" CXXFLAGS="$sh_cxxflags" ./configure --disable-shared --enable-static $* else ./configure $*