X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=buildconf.sh;fp=buildconf.sh;h=f844bce8acf70fade9172319f320fa998fbdc5a3;hp=96715929c6ced752d67261d0c76b6f106b20e994;hb=6bb56cea1f0da95aab92c52878f8501a7f4e6a75;hpb=29e4554a9be9e8c25f200c3012e7fa4c2d03aaef 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