Skip to content
Snippets Groups Projects
Commit 64d13498 authored by Wuttke, Joachim's avatar Wuttke, Joachim
Browse files

simplify logic, rm BA_WHEEL

parent 05b848f1
No related branches found
No related tags found
1 merge request!2492correct recent regression in MakeLib
Pipeline #138751 passed
...@@ -70,8 +70,7 @@ function(MakeLib lib swigtmpdir source_files include_files) ...@@ -70,8 +70,7 @@ function(MakeLib lib swigtmpdir source_files include_files)
if(LINUX) if(LINUX)
target_link_options(${lib} PRIVATE target_link_options(${lib} PRIVATE
"-Wl,-rpath,\$ORIGIN:\$ORIGIN/extra") "-Wl,-rpath,\$ORIGIN:\$ORIGIN/extra")
endif() elseif(APPLE)
if(APPLE AND (BA_APPLE_BUNDLE OR BA_WHEEL))
target_link_options(${lib} PRIVATE target_link_options(${lib} PRIVATE
"-Wl,-rpath,@loader_path:@loader_path/extra") "-Wl,-rpath,@loader_path:@loader_path/extra")
endif() endif()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment