From ce46a986ba677176dcb02302bdd8bbb88d57bc56 Mon Sep 17 00:00:00 2001 From: lib Date: Mon, 3 Jul 2023 14:05:14 -0500 Subject: [PATCH] Compile with static libraries with -fPIC for static linkage with Python .so --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 241e638..8242000 100644 --- a/Makefile +++ b/Makefile @@ -19,7 +19,7 @@ CXX = g++ # -O2, -O3 ... to find the best optimization level. # =================================================================== -CXXFLAGS = -O3 +CXXFLAGS = -O3 -fPIC # PREDCXXFLAGS is for compiling J. Shewchuk's predicates.