1
0
Fork 0

solaris also trips on -wl,--version

This commit is contained in:
Wilfried Goesgens 2016-02-22 15:01:04 +01:00
parent 137b82409c
commit c194235963
1 changed files with 1 additions and 1 deletions

View File

@ -206,7 +206,7 @@ endif()
if(UNIX)
# On unix-like platforms the library is almost always called libz
set_target_properties(zlib zlibstatic PROPERTIES OUTPUT_NAME z)
if(NOT APPLE)
if(NOT APPLE AND NOT SOLARIS)
set_target_properties(zlib PROPERTIES LINK_FLAGS "-Wl,--version-script,\"${CMAKE_CURRENT_SOURCE_DIR}/zlib.map\"")
endif()
elseif(BUILD_SHARED_LIBS AND WIN32)