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

revert to save -rpath syntax

parent 9c7acb86
No related branches found
No related tags found
1 merge request!2493correct syntax of -rpath list for Mac; restore --disable-new-dtags
...@@ -69,7 +69,7 @@ function(MakeLib lib swigtmpdir source_files include_files) ...@@ -69,7 +69,7 @@ function(MakeLib lib swigtmpdir source_files include_files)
# See our deployment paper (Nejati et al 2024) for explanation. # See our deployment paper (Nejati et al 2024) for explanation.
if(LINUX) if(LINUX)
target_link_options(${lib} PRIVATE target_link_options(${lib} PRIVATE
"-Wl,-rpath,\$ORIGIN:\$ORIGIN/extra") "-Wl,-rpath,\$ORIGIN,-rpath,\$ORIGIN/extra")
elseif(APPLE) elseif(APPLE)
target_link_options(${lib} PRIVATE target_link_options(${lib} PRIVATE
"-Wl,-rpath,@loader_path,-rpath,@loader_path/extra") "-Wl,-rpath,@loader_path,-rpath,@loader_path/extra")
......
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