From ce33d80fa5fa842dc94d8414e3b0633591d99f06 Mon Sep 17 00:00:00 2001 From: Alexander Neundorf Date: Mon, 16 Jul 2007 10:13:00 -0400 Subject: BUG: the Plugin test fails on NetBSD, let's see if this fixes it Alex --- Modules/Platform/NetBSD.cmake | 3 +++ 1 file changed, 3 insertions(+) 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) -- cgit v0.12