[cmake-commits] king committed NetBSD.cmake 1.8 1.9 kFreeBSD.cmake
1.3 1.4
cmake-commits at cmake.org
cmake-commits at cmake.org
Sat Feb 2 08:58:55 EST 2008
Update of /cvsroot/CMake/CMake/Modules/Platform
In directory public:/mounts/ram/cvs-serv26239
Modified Files:
NetBSD.cmake kFreeBSD.cmake
Log Message:
ENH: Enable dependent library search paths on more platforms
- NetBSD needs dependent library paths in -rpath-link option.
- kFreeBSD needs dependent library paths in -rpath-link option.
Index: NetBSD.cmake
===================================================================
RCS file: /cvsroot/CMake/CMake/Modules/Platform/NetBSD.cmake,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- NetBSD.cmake 16 Jul 2007 14:13:00 -0000 1.8
+++ NetBSD.cmake 2 Feb 2008 13:58:53 -0000 1.9
@@ -5,6 +5,7 @@
SET(CMAKE_SHARED_LIBRARY_LINK_C_FLAGS "") # +s, flag for exe link to use shared lib
SET(CMAKE_SHARED_LIBRARY_RUNTIME_C_FLAG "-Wl,-rpath,") # -rpath
SET(CMAKE_SHARED_LIBRARY_RUNTIME_C_FLAG_SEP ":") # : or empty
+ SET(CMAKE_SHARED_LIBRARY_RPATH_LINK_C_FLAG "-Wl,-rpath-link,")
SET(CMAKE_SHARED_LIBRARY_SONAME_C_FLAG "-Wl,-soname,")
SET(CMAKE_SHARED_LIBRARY_SONAME_CXX_FLAG "-Wl,-soname,")
SET(CMAKE_EXE_EXPORTS_C_FLAG "-Wl,--export-dynamic")
Index: kFreeBSD.cmake
===================================================================
RCS file: /cvsroot/CMake/CMake/Modules/Platform/kFreeBSD.cmake,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- kFreeBSD.cmake 20 Apr 2006 14:23:17 -0000 1.3
+++ kFreeBSD.cmake 2 Feb 2008 13:58:53 -0000 1.4
@@ -5,6 +5,7 @@
SET(CMAKE_SHARED_LIBRARY_LINK_C_FLAGS "-rdynamic")
SET(CMAKE_SHARED_LIBRARY_RUNTIME_C_FLAG "-Wl,-rpath,")
SET(CMAKE_SHARED_LIBRARY_RUNTIME_C_FLAG_SEP ":")
+SET(CMAKE_SHARED_LIBRARY_RPATH_LINK_C_FLAG "-Wl,-rpath-link,")
SET(CMAKE_SHARED_LIBRARY_SONAME_C_FLAG "-Wl,-soname,")
SET(CMAKE_SHARED_LIBRARY_SONAME_CXX_FLAG "-Wl,-soname,")
More information about the Cmake-commits
mailing list