cmake_modules/CMakePascalInformation.cmake
branch0.9.20
changeset 9926 9d79a52c5586
parent 9922 58dee07f7552
child 9950 2759212a27de
--- a/cmake_modules/CMakePascalInformation.cmake	Sat Jan 04 02:15:01 2014 +0100
+++ b/cmake_modules/CMakePascalInformation.cmake	Sat Jan 04 02:36:55 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 -k")
+    set(CMAKE_SHARED_LIBRARY_RUNTIME_Pascal_FLAG "-k-rpath")
 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 -k")
+    set(CMAKE_SHARED_LIBRARY_RPATH_LINK_Pascal_FLAG "-k-rpath-link")
 endif(NOT CMAKE_SHARED_LIBRARY_RPATH_LINK_Pascal_FLAG)
 
 # for most systems a module is the same as a shared library