diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2003-01-03 13:12:58 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2003-01-03 13:12:58 (GMT) |
commit | 39e43360eafd2c7b77ea5b304bafe3cc71d33568 (patch) | |
tree | ae11b0c838eecad22f1b43ff68bffd311063ceed /Modules/Platform/SunOS.cmake | |
parent | ee459411ba721eefe3a3fde77e8f25105644f8c4 (diff) | |
download | CMake-39e43360eafd2c7b77ea5b304bafe3cc71d33568.zip CMake-39e43360eafd2c7b77ea5b304bafe3cc71d33568.tar.gz CMake-39e43360eafd2c7b77ea5b304bafe3cc71d33568.tar.bz2 |
BUG: bad rpath flag for suns
Diffstat (limited to 'Modules/Platform/SunOS.cmake')
-rw-r--r-- | Modules/Platform/SunOS.cmake | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Modules/Platform/SunOS.cmake b/Modules/Platform/SunOS.cmake index 16e68c0..4254565 100644 --- a/Modules/Platform/SunOS.cmake +++ b/Modules/Platform/SunOS.cmake @@ -1,25 +1,25 @@ IF(CMAKE_SYSTEM MATCHES "SunOS-4.*") SET(CMAKE_SHARED_LIBRARY_C_FLAGS "-PIC") SET(CMAKE_SHARED_LIBRARY_CREATE_C_FLAGS "-shared -Wl,-r -nostdlib") - SET(CMAKE_SHARED_LIBRARY_RUNTIME_FLAG "-Wl,-R,") + SET(CMAKE_SHARED_LIBRARY_RUNTIME_FLAG "-Wl,-R") SET(CMAKE_SHARED_LIBRARY_RUNTIME_FLAG_SEP ":") ENDIF(CMAKE_SYSTEM MATCHES "SunOS-4.*") IF(CMAKE_SYSTEM MATCHES "SunOS-5*.") SET(CMAKE_SHARED_LIBRARY_C_FLAGS "-KPIC") SET(CMAKE_SHARED_LIBRARY_CREATE_C_FLAGS "-G") - SET(CMAKE_SHARED_LIBRARY_RUNTIME_FLAG "-R,") + SET(CMAKE_SHARED_LIBRARY_RUNTIME_FLAG "-R") SET(CMAKE_SHARED_LIBRARY_RUNTIME_FLAG_SEP ":") IF(CMAKE_COMPILER_IS_GNUCC) SET(CMAKE_SHARED_LIBRARY_C_FLAGS "-fPIC") SET(CMAKE_SHARED_LIBRARY_CREATE_C_FLAGS "-shared -nostdlib") - SET(CMAKE_SHARED_LIBRARY_RUNTIME_FLAG "-Wl,-R,") + SET(CMAKE_SHARED_LIBRARY_RUNTIME_FLAG "-Wl,-R") SET(CMAKE_SHARED_LIBRARY_RUNTIME_FLAG_SEP ":") ENDIF(CMAKE_COMPILER_IS_GNUCC) IF(CMAKE_COMPILER_IS_GNUCXX) SET(CMAKE_SHARED_LIBRARY_CXX_FLAGS "-fPIC") SET(CMAKE_SHARED_LIBRARY_CREATE_CXX_FLAGS "-shared -nostdlib") - SET(CMAKE_SHARED_LIBRARY_RUNTIME_CXX_FLAG "-Wl,-R,") + SET(CMAKE_SHARED_LIBRARY_RUNTIME_CXX_FLAG "-Wl,-R") SET(CMAKE_SHARED_LIBRARY_RUNTIME_CXX_FLAG_SEP ":") ENDIF(CMAKE_COMPILER_IS_GNUCXX) |