fix shared library loading by using the right variable
authorkoda
Sat, 24 Aug 2013 12:00:40 +0200
changeset 9415 276f6d7d9e2e
parent 9413 37fcb9a796e6
child 9417 a0d014328165
fix shared library loading by using the right variable
cmake_modules/CMakePascalInformation.cmake
--- a/cmake_modules/CMakePascalInformation.cmake	Sat Aug 24 01:13:58 2013 +0200
+++ b/cmake_modules/CMakePascalInformation.cmake	Sat Aug 24 12:00:40 2013 +0200
@@ -58,7 +58,7 @@
 
 if(NOT CMAKE_SHARED_LIBRARY_RPATH_LINK_Pascal_FLAG)
 #-Wl,-rpath-link,
-    set(CMAKE_SHARED_LIBRARY_RUNTIME_Pascal_FLAG "-k-rpath-link")
+    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