From 275f971a75dc6b466eb752de8174929ffe36a024 Mon Sep 17 00:00:00 2001 From: lib Date: Mon, 3 Jul 2023 14:05:31 -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 869d5ab..9c19c09 100755 --- a/SETUP +++ b/SETUP @@ -8,6 +8,6 @@ fi cd $(dirname $0) libname=$(basename $(pwd)) -./configure --prefix="$1" +CFLAGS="-fPIC" ./configure --prefix="$1" make check -j8 make install