diff --git a/setup.py b/setup.py
index 278715afa702bb520b5b3c943021ecabcfbb14a4..9ae0c3e21139a39b4855df9b3dc96f98537de084 100644
--- a/setup.py
+++ b/setup.py
@@ -111,7 +111,7 @@ class build_clib(_build_clib):
             [
                 configure, "--disable-shared", "--enable-static",
                 "--disable-debug", "--disable-dependency-tracking",
-                "--prefix", os.path.abspath(self.build_clib),
+                "--with-pic", "--prefix", os.path.abspath(self.build_clib),
             ],
             cwd=build_temp,
         )