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

main
lib 2 years ago
parent a7b20a2e25
commit 275f971a75
  1. 2
      SETUP

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

Loading…
Cancel
Save