diff options
author | Brad King <brad.king@kitware.com> | 2008-02-18 17:01:41 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2008-02-18 17:01:41 (GMT) |
commit | 068d0d9b91a1f29d06510f91f194a53bc52fcd1a (patch) | |
tree | a16bc33f7368027993fd1b4ae50a44be0d7caa8c /Modules/Platform/HP-UX.cmake | |
parent | 0dbc43064129dd4fba92b46cbb877ed5b50bb6f3 (diff) | |
download | CMake-068d0d9b91a1f29d06510f91f194a53bc52fcd1a.zip CMake-068d0d9b91a1f29d06510f91f194a53bc52fcd1a.tar.gz CMake-068d0d9b91a1f29d06510f91f194a53bc52fcd1a.tar.bz2 |
BUG: Fix passing of nodefaultrpath flag to linker through c++ compiler.
Diffstat (limited to 'Modules/Platform/HP-UX.cmake')
-rw-r--r-- | Modules/Platform/HP-UX.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/Platform/HP-UX.cmake b/Modules/Platform/HP-UX.cmake index a6bb79e..ae036b9 100644 --- a/Modules/Platform/HP-UX.cmake +++ b/Modules/Platform/HP-UX.cmake @@ -70,7 +70,7 @@ IF(CMAKE_COMPILER_IS_GNUCXX) ELSE(CMAKE_COMPILER_IS_GNUCXX) # for hp aCC SET(CMAKE_SHARED_LIBRARY_CXX_FLAGS "+Z") # -pic - SET(CMAKE_SHARED_LIBRARY_CREATE_CXX_FLAGS "+Z -Wl,-E -b +nodefaultrpath -L/usr/lib") # -shared + SET(CMAKE_SHARED_LIBRARY_CREATE_CXX_FLAGS "+Z -Wl,-E,+nodefaultrpath -b -L/usr/lib") # -shared SET(CMAKE_SHARED_LIBRARY_LINK_CXX_FLAGS "-Wl,+s,-E,+nodefaultrpath") # +s, flag for exe link to use shared lib SET(CMAKE_SHARED_LIBRARY_RUNTIME_CXX_FLAG "-Wl,+b") # -rpath SET(CMAKE_SHARED_LIBRARY_RUNTIME_CXX_FLAG_SEP ":") # : or empty |