diff --git a/pyfastogt/build_utils.py b/pyfastogt/build_utils.py index 6db2f9f..32a4d8f 100644 --- a/pyfastogt/build_utils.py +++ b/pyfastogt/build_utils.py @@ -174,7 +174,7 @@ class BuildRequest(object): ['-DBUILD_SHARED_LIBS=OFF', '-DSNAPPY_BUILD_TESTS=OFF']) def build_jsonc(self): - self._clone_and_build_via_cmake(generate_fastogt_github_path('json-c'), ['-DBUILD_SHARED_LIBS=OFF']) + self._clone_and_build_via_cmake(generate_fastogt_github_path('json-c'), ['-DBUILD_SHARED_LIBS=OFF', '-DDISABLE_STATIC_FPIC=OFF']) def build_libev(self): libev_compiler_flags = ['--with-pic', '--disable-shared', '--enable-static']