From 523546272fd6df08536f6a8836ef025ca0759abb Mon Sep 17 00:00:00 2001 From: lib Date: Mon, 3 Jul 2023 14:03:37 -0500 Subject: [PATCH] Compile with static libraries with -fPIC for static linkage with Python .so --- SETUP | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SETUP b/SETUP index 6e78fc9..af63758 100755 --- a/SETUP +++ b/SETUP @@ -8,7 +8,7 @@ fi cd $(dirname $0) libname=$(basename $(pwd)) -./configure --prefix="$1" --with-zlib="$2" +./configure --prefix="$1" --with-zlib="$2" CFLAGS="-fPIC" make -j8 # make check -j8 make install