summaryrefslogtreecommitdiffstats
path: root/Modules/Platform/HP-UX.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2002-12-31 18:08:44 (GMT)
committerBrad King <brad.king@kitware.com>2002-12-31 18:08:44 (GMT)
commit61cd9298cd327d83a014db6cad2fc173698c0398 (patch)
tree835774a15f118b2ba8c61160cf22ebddac7edb9e /Modules/Platform/HP-UX.cmake
parentc8694bb509803c94ced51091e2ea6cc365f5193e (diff)
downloadCMake-61cd9298cd327d83a014db6cad2fc173698c0398.zip
CMake-61cd9298cd327d83a014db6cad2fc173698c0398.tar.gz
CMake-61cd9298cd327d83a014db6cad2fc173698c0398.tar.bz2
ENH: Added <LINK_FLAGS> to link rules.
Diffstat (limited to 'Modules/Platform/HP-UX.cmake')
-rw-r--r--Modules/Platform/HP-UX.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/Platform/HP-UX.cmake b/Modules/Platform/HP-UX.cmake
index 70c254d..f2f8115 100644
--- a/Modules/Platform/HP-UX.cmake
+++ b/Modules/Platform/HP-UX.cmake
@@ -17,7 +17,7 @@ ELSE(CMAKE_COMPILER_IS_GNUCC)
SET(CMAKE_ANSI_CFLAGS "-Aa -Ae")
# use ld directly to create shared libraries for hp cc
SET(CMAKE_C_CREATE_SHARED_LIBRARY
- "ld <CMAKE_SHARED_LIBRARY_CREATE_C_FLAGS> -o <TARGET> <OBJECTS> <LINK_LIBRARIES>")
+ "ld <CMAKE_SHARED_LIBRARY_CREATE_C_FLAGS> <LINK_FLAGS> -o <TARGET> <OBJECTS> <LINK_LIBRARIES>")
SET(CMAKE_SHARED_LIBRARY_C_FLAGS "+Z") # -pic
SET(CMAKE_SHARED_LIBRARY_CREATE_C_FLAGS "-E -b -L/usr/lib") # -shared
SET(CMAKE_SHARED_LIBRARY_LINK_FLAGS "-Wl,+s") # +s, flag for exe link to use shared lib