RPATH for libraries to find other coriolis libs

This commit is contained in:
Robert Taylor 2022-12-09 17:03:02 +00:00
parent c1fdf4963b
commit 8ccd9618dd
1 changed files with 1 additions and 1 deletions

View File

@ -91,7 +91,7 @@ class ExtensionBuilder(build_ext):
cmake_args += ["-DCMAKE_BUILD_RPATH_USE_ORIGIN=1"]
cmake_args += ["-DCMAKE_SKIP_BUILD_RPATH=FALSE"]
cmake_args += ["-DCMAKE_BUILD_WITH_INSTALL_RPATH=FALSE"]
cmake_args += ["-DCMAKE_INSTALL_RPATH=\${ORIGIN}/lib"]
cmake_args += ["-DCMAKE_INSTALL_RPATH=\${ORIGIN}/lib:\${ORIGIN}"]
cmake_args += ["-DCMAKE_INSTALL_RPATH_USE_LINK_PATH=TRUE"]
subprocess.check_call(["cmake", "--debug-find", "--trace-redirect=build.cmake.trace", "--trace-expand", ext.sourcedir] + cmake_args, cwd=build_dir, env=env)