Skip to content
Snippets Groups Projects
Commit 3dd66f96 authored by Bill Hoffman's avatar Bill Hoffman
Browse files

correct c flags for shared links

parent 73c7caa7
No related branches found
No related tags found
No related merge requests found
......@@ -111,12 +111,12 @@ SET (CMAKE_SIZEOF_DOUBLE @CMAKE_SIZEOF_DOUBLE@ CACHE INTERNAL "Size of doubl
FIND_PROGRAM(CMAKE_MAKE_PROGRAM NAMES gmake make )
IF(CMAKE_SYSTEM MATCHES "HP-UX.*")E
IF(CMAKE_SYSTEM MATCHES "HP-UX.*")
SET (CMAKE_C_SHLIB_LINK_FLAGS "-Wl,+s" CACHE INTERNAL "shared link flags for cc")
SET (CMAKE_C_SHLIB_RUNTIME_FLAG "-Wl,+b," CACHE INTERNAL "runtime directory flag for cc")
ELSE(CMAKE_SYSTEM MATCHES "HP-UX.*")
SET (CMAKE_C_SHLIB_LINK_FLAGS ${CMAKE_SHLIB_LINK_FLAGS} CACHE INTERNAL "shared link flags for cc")
SET (CMAKE_C_SHLIB_RUNTIME_FLAG ${CMAKE_SHLIB_RUNTIME_FLAG} CACHE INTERNAL "runtime directory flag for cc")
SET (CMAKE_C_SHLIB_LINK_FLAGS "${CMAKE_SHLIB_LINK_FLAGS}" CACHE INTERNAL "shared link flags for cc")
SET (CMAKE_C_SHLIB_RUNTIME_FLAG "${CMAKE_SHLIB_RUNTIME_FLAG}" CACHE INTERNAL "runtime directory flag for cc")
ENDIF(CMAKE_SYSTEM MATCHES "HP-UX.*")
# The following variables are advanced
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment