--- a/cmake_modules/CMakePascalInformation.cmake Sat Jan 04 01:56:22 2014 +0100
+++ b/cmake_modules/CMakePascalInformation.cmake Sat Jan 04 02:00:12 2014 +0100
@@ -51,7 +51,7 @@
if(NOT CMAKE_SHARED_LIBRARY_RUNTIME_Pascal_FLAG)
#-Wl,-rpath,
- set(CMAKE_SHARED_LIBRARY_RUNTIME_Pascal_FLAG "-k-rpath")
+ set(CMAKE_SHARED_LIBRARY_RUNTIME_Pascal_FLAG "-k-rpath -k")
endif(NOT CMAKE_SHARED_LIBRARY_RUNTIME_Pascal_FLAG)
if(NOT CMAKE_SHARED_LIBRARY_RUNTIME_Pascal_FLAG_SEP)
@@ -60,7 +60,7 @@
if(NOT CMAKE_SHARED_LIBRARY_RPATH_LINK_Pascal_FLAG)
#-Wl,-rpath-link,
- set(CMAKE_SHARED_LIBRARY_RPATH_LINK_Pascal_FLAG "-k-rpath-link")
+ set(CMAKE_SHARED_LIBRARY_RPATH_LINK_Pascal_FLAG "-k-rpath-link -k")
endif(NOT CMAKE_SHARED_LIBRARY_RPATH_LINK_Pascal_FLAG)
# for most systems a module is the same as a shared library