From 1d63cbb67093fb4ac7e7a15e1ad2f6d83341b162 Mon Sep 17 00:00:00 2001 From: Pavel Rojtberg Date: Sun, 10 Sep 2023 16:58:45 +0300 Subject: [PATCH] Python: workaround issue with cmake & manylinux (#2938) --- setup.py | 1 + 1 file changed, 1 insertion(+) diff --git a/setup.py b/setup.py index cb42f4621bc..b4aeeea384e 100644 --- a/setup.py +++ b/setup.py @@ -65,6 +65,7 @@ def main(): cmake_args += ["-DOGRE_GLSUPPORT_USE_EGL=ON", "-DOGRE_BUILD_RENDERSYSTEM_VULKAN=ON", "-DOGRE_BUILD_PLUGIN_GLSLANG=ON", + "-DPYTHON_LIBRARY=dontcare", # workaround issue with cmake & manylinux "-DCMAKE_CXX_FLAGS=-s", # strip assimp "-DCMAKE_INSTALL_RPATH=$ORIGIN;$ORIGIN/OGRE"] elif sys.platform == "darwin":