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

index 9671592..f844bce 100755 (executable)
@@ -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