buildconf.sh -d: use --with-pic
authorAdam Dickmeiss <adam@indexdata.dk>
Tue, 26 Oct 2010 18:11:50 +0000 (20:11 +0200)
committerAdam Dickmeiss <adam@indexdata.dk>
Tue, 26 Oct 2010 18:11:50 +0000 (20:11 +0200)
buildconf.sh

index 1850bae..fc07d69 100755 (executable)
@@ -71,7 +71,8 @@ esac
 
 if $enable_configure; then
     if [ -n "$sh_cflags" ]; 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
        ./configure $*
     fi