From b4b9e1d44b7804111c85c9c8e9bbfafdf149c3c0 Mon Sep 17 00:00:00 2001 From: Brad King Date: Tue, 29 Jan 2008 07:48:22 -0500 Subject: BUG: Fix dynamic exports executable link option for Sun C compiler on Linux. --- Modules/Platform/Linux-SunPro-C.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modules/Platform/Linux-SunPro-C.cmake b/Modules/Platform/Linux-SunPro-C.cmake index c199100..529dfba 100644 --- a/Modules/Platform/Linux-SunPro-C.cmake +++ b/Modules/Platform/Linux-SunPro-C.cmake @@ -6,7 +6,7 @@ SET(CMAKE_SHARED_LIBRARY_LINK_C_FLAGS "") SET(CMAKE_SHARED_LIBRARY_RUNTIME_C_FLAG "-R") SET(CMAKE_SHARED_LIBRARY_RUNTIME_C_FLAG_SEP ":") SET(CMAKE_SHARED_LIBRARY_SONAME_C_FLAG "-h") -SET(CMAKE_EXE_EXPORTS_C_FLAG "--export-dynamic") +SET(CMAKE_EXE_EXPORTS_C_FLAG "-Wl,--export-dynamic") SET(CMAKE_C_FLAGS_INIT "") SET(CMAKE_C_FLAGS_DEBUG_INIT "-g") -- cgit v0.12