do not use -z defs on Solaris, it complains about libc.so implicit dependency

This commit is contained in:
Vladislav Vaintroub 2009-12-07 01:50:54 +00:00
commit 94659ffbb1

View file

@ -164,9 +164,6 @@ IF(CMAKE_SYSTEM_NAME STREQUAL "Linux")
SET(LINK_FLAG_NO_UNDEFINED "--Wl,--no-undefined")
ENDIF()
IF(CMAKE_SYSTEM_NAME MATCHES "SunOS")
SET(LINK_FLAG_NO_UNDEFINED "-z defs")
ENDIF()
#Some OS specific hacks
IF(CMAKE_SYSTEM_NAME MATCHES "FreeBSD")