summaryrefslogtreecommitdiffstats
path: root/Modules/Platform
diff options
context:
space:
mode:
authorAlexander Neundorf <neundorf@kde.org>2007-07-16 14:13:00 (GMT)
committerAlexander Neundorf <neundorf@kde.org>2007-07-16 14:13:00 (GMT)
commitce33d80fa5fa842dc94d8414e3b0633591d99f06 (patch)
treef3f0ff088c3e8530faece23510078b7c1c48eb92 /Modules/Platform
parent5bd38eb630250ac3a69c6c9dfe0e62cd41dce0c0 (diff)
downloadCMake-ce33d80fa5fa842dc94d8414e3b0633591d99f06.zip
CMake-ce33d80fa5fa842dc94d8414e3b0633591d99f06.tar.gz
CMake-ce33d80fa5fa842dc94d8414e3b0633591d99f06.tar.bz2
BUG: the Plugin test fails on NetBSD, let's see if this fixes it
Alex
Diffstat (limited to 'Modules/Platform')
-rw-r--r--Modules/Platform/NetBSD.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/Modules/Platform/NetBSD.cmake b/Modules/Platform/NetBSD.cmake
index 7ce5345..5e50fd3 100644
--- a/Modules/Platform/NetBSD.cmake
+++ b/Modules/Platform/NetBSD.cmake
@@ -7,5 +7,8 @@ IF(EXISTS /usr/include/dlfcn.h)
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)
+
INCLUDE(Platform/UnixPaths)