this should fix rpath problem
authorkoda
Fri, 14 Jun 2013 01:24:41 +0200
changeset 9231 e704a6a5101a
parent 9230 035cc97de6aa
child 9232 571e55b32da5
this should fix rpath problem
cmake_modules/paths.cmake
--- a/cmake_modules/paths.cmake	Fri Jun 14 01:11:22 2013 +0200
+++ b/cmake_modules/paths.cmake	Fri Jun 14 01:24:41 2013 +0200
@@ -63,7 +63,7 @@
     #make sure $ORIGIN is respected
     add_linker_flag("-zorigin")
     #apply RPATH settings to pascal and haskell executables
-    add_flag_append(CMAKE_Pascal_FLAGS "-k-rpath '${CMAKE_INSTALL_RPATH_ESCAPED}'")
+    add_flag_append(CMAKE_Pascal_FLAGS "-k-rpath -k'${CMAKE_INSTALL_RPATH_ESCAPED}'")
     list(APPEND haskell_flags "-optl" "-Wl,-rpath,'${CMAKE_INSTALL_RPATH_ESCAPED}'")
 endif()