1
0
mirror of https://git.libssh.org/projects/libssh.git synced 2025-07-29 13:01:13 +03:00

Remove --as-needed linker flag.

This commit is contained in:
Andreas Schneider
2009-10-01 10:19:07 +02:00
parent 571dd56eca
commit 8ed9cdce80
2 changed files with 3 additions and 2 deletions

View File

@ -48,8 +48,6 @@ if (UNIX AND NOT WIN32)
add_definitions(-D_FORTIFY_SOURCE=2)
endif (WITH_FORTIFY_SOURCE)
# Set linker flags
set(CMAKE_SHARED_LINKER_FLAGS "-Wl,--as-needed")
endif (CMAKE_COMPILER_IS_GNUCC)
endif (UNIX AND NOT WIN32)