summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2010-08-03 20:14:08 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2010-08-03 20:14:08 (GMT)
commit8c8aa7e8f64865fec6fef297c3cc564f3b6e2541 (patch)
treecc103931857ea4b1c9b8590ce87931123f1c822d /Modules
parent84394bcbea203b1e90f35d25f096213358690884 (diff)
parent90467d62944a96c9be55dc3ccfcf2e0b91955617 (diff)
downloadCMake-8c8aa7e8f64865fec6fef297c3cc564f3b6e2541.zip
CMake-8c8aa7e8f64865fec6fef297c3cc564f3b6e2541.tar.gz
CMake-8c8aa7e8f64865fec6fef297c3cc564f3b6e2541.tar.bz2
Merge topic 'hurd-platform'
90467d6 GNU/Hurd platform support fixes (#9873)
Diffstat (limited to 'Modules')
-rw-r--r--Modules/Platform/GNU.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/Modules/Platform/GNU.cmake b/Modules/Platform/GNU.cmake
index fe3d47b..e0ed86c 100644
--- a/Modules/Platform/GNU.cmake
+++ b/Modules/Platform/GNU.cmake
@@ -4,5 +4,8 @@ SET(CMAKE_SHARED_LIBRARY_C_FLAGS "-fPIC")
SET(CMAKE_SHARED_LIBRARY_CREATE_C_FLAGS "-shared")
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_EXE_EXPORTS_C_FLAG "-Wl,--export-dynamic")
+
INCLUDE(Platform/UnixPaths)