correct c flags for shared links
This commit is contained in:
parent
73c7caa774
commit
3dd66f9698
|
@ -111,12 +111,12 @@ SET (CMAKE_SIZEOF_DOUBLE @CMAKE_SIZEOF_DOUBLE@ CACHE INTERNAL "Size of doubl
|
||||||
FIND_PROGRAM(CMAKE_MAKE_PROGRAM NAMES gmake make )
|
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_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")
|
SET (CMAKE_C_SHLIB_RUNTIME_FLAG "-Wl,+b," CACHE INTERNAL "runtime directory flag for cc")
|
||||||
ELSE(CMAKE_SYSTEM MATCHES "HP-UX.*")
|
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_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_RUNTIME_FLAG "${CMAKE_SHLIB_RUNTIME_FLAG}" CACHE INTERNAL "runtime directory flag for cc")
|
||||||
ENDIF(CMAKE_SYSTEM MATCHES "HP-UX.*")
|
ENDIF(CMAKE_SYSTEM MATCHES "HP-UX.*")
|
||||||
|
|
||||||
# The following variables are advanced
|
# The following variables are advanced
|
||||||
|
|
Loading…
Reference in New Issue