buildconf.sh -d: use --with-pic
authorAdam Dickmeiss <adam@indexdata.dk>
Wed, 27 Oct 2010 08:44:46 +0000 (10:44 +0200)
committerAdam Dickmeiss <adam@indexdata.dk>
Wed, 27 Oct 2010 08:44:46 +0000 (10:44 +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