[cmake-commits] king committed NetBSD.cmake 1.6 1.7

cmake-commits at cmake.org cmake-commits at cmake.org
Tue Apr 10 08:36:35 EDT 2007


Update of /cvsroot/CMake/CMake/Modules/Platform
In directory public:/mounts/ram/cvs-serv3295

Modified Files:
	NetBSD.cmake 
Log Message:
ENH: Enabled use of soname and therefore versioning symlinks.  Patch is from bug#4558.


Index: NetBSD.cmake
===================================================================
RCS file: /cvsroot/CMake/CMake/Modules/Platform/NetBSD.cmake,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- NetBSD.cmake	27 Mar 2006 15:46:42 -0000	1.6
+++ NetBSD.cmake	10 Apr 2007 12:36:33 -0000	1.7
@@ -5,5 +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_SONAME_C_FLAG "-Wl,-soname,")
+  SET(CMAKE_SHARED_LIBRARY_SONAME_CXX_FLAG "-Wl,-soname,")
 ENDIF(EXISTS /usr/include/dlfcn.h)
 INCLUDE(Platform/UnixPaths)



More information about the Cmake-commits mailing list