[cmake-commits] king committed FreeBSD.cmake 1.9 1.10
cmake-commits at cmake.org
cmake-commits at cmake.org
Tue Apr 17 23:41:54 EDT 2007
Update of /cvsroot/CMake/CMake/Modules/Platform
In directory public:/mounts/ram/cvs-serv304
Modified Files:
FreeBSD.cmake
Log Message:
ENH: Added CMAKE_EXE_EXPORTS_C_FLAG and CMAKE_EXE_EXPORTS_CXX_FLAG to support executables that export symbols.
Index: FreeBSD.cmake
===================================================================
RCS file: /cvsroot/CMake/CMake/Modules/Platform/FreeBSD.cmake,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- FreeBSD.cmake 15 Sep 2006 18:58:27 -0000 1.9
+++ FreeBSD.cmake 18 Apr 2007 03:41:51 -0000 1.10
@@ -7,6 +7,8 @@
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,")
+ SET(CMAKE_EXE_EXPORTS_C_FLAG "-Wl,--export-dynamic")
+ SET(CMAKE_EXE_EXPORTS_CXX_FLAG "-Wl,--export-dynamic")
ENDIF(EXISTS /usr/include/dlfcn.h)
# Initialize C link type selection flags. These flags are used when
More information about the Cmake-commits
mailing list