Compile with static libraries with -fPIC for static linkage with Python .so

main
lib 2 years ago
parent 0487396dbe
commit 523546272f
  1. 2
      SETUP

@ -8,7 +8,7 @@ fi
cd $(dirname $0) cd $(dirname $0)
libname=$(basename $(pwd)) libname=$(basename $(pwd))
./configure --prefix="$1" --with-zlib="$2" ./configure --prefix="$1" --with-zlib="$2" CFLAGS="-fPIC"
make -j8 make -j8
# make check -j8 # make check -j8
make install make install

Loading…
Cancel
Save