--- 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()