From: Adam Dickmeiss Date: Tue, 26 Oct 2010 18:11:42 +0000 (+0200) Subject: buildconf.sh -d: use --with-pic X-Git-Tag: v4.1.2~4 X-Git-Url: http://sru.miketaylor.org.uk/cgi-bin?a=commitdiff_plain;h=6bb56cea1f0da95aab92c52878f8501a7f4e6a75;p=yaz-moved-to-github.git buildconf.sh -d: use --with-pic --- diff --git a/buildconf.sh b/buildconf.sh index 9671592..f844bce 100755 --- a/buildconf.sh +++ b/buildconf.sh @@ -78,7 +78,8 @@ esac if $enable_configure; then if [ -n "$sh_cflags" ]; then if $has_libtool; then - CFLAGS="$sh_cflags" CXXFLAGS="$sh_cxxflags" ./configure --disable-shared --enable-static $* + CFLAGS="$sh_cflags" CXXFLAGS="$sh_cxxflags" ./configure \ + --disable-shared --enable-static --with-pic $* else CFLAGS="$sh_cflags" CXXFLAGS="$sh_cxxflags" ./configure $* fi