From 353201b52d057aba1cbf1c9626041215a763247b Mon Sep 17 00:00:00 2001 From: "Joachim Wuttke (h)" <j.wuttke@fz-juelich.de> Date: Wed, 17 Apr 2024 14:47:47 +0200 Subject: [PATCH] revert to save -rpath syntax --- cmake/BornAgain/MakeLib.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/BornAgain/MakeLib.cmake b/cmake/BornAgain/MakeLib.cmake index 46ec6993916..c1a6b920327 100644 --- a/cmake/BornAgain/MakeLib.cmake +++ b/cmake/BornAgain/MakeLib.cmake @@ -69,7 +69,7 @@ function(MakeLib lib swigtmpdir source_files include_files) # See our deployment paper (Nejati et al 2024) for explanation. if(LINUX) target_link_options(${lib} PRIVATE - "-Wl,-rpath,\$ORIGIN:\$ORIGIN/extra") + "-Wl,-rpath,\$ORIGIN,-rpath,\$ORIGIN/extra") elseif(APPLE) target_link_options(${lib} PRIVATE "-Wl,-rpath,@loader_path,-rpath,@loader_path/extra") -- GitLab