diff options
author | Andreas Schneider <mail@cynapses.org> | 2009-07-30 00:46:57 +0200 |
---|---|---|
committer | Andreas Schneider <mail@cynapses.org> | 2009-07-30 00:46:57 +0200 |
commit | 94a57df0c9eceda18679b2823de74837fb5a73c1 (patch) | |
tree | 495295c33bb210d7f9882634682c35a9408945df | |
parent | 5f93742c5e02b978f95725c3384f1b125d3039b4 (diff) | |
download | libssh-94a57df0c9eceda18679b2823de74837fb5a73c1.tar.gz libssh-94a57df0c9eceda18679b2823de74837fb5a73c1.tar.xz libssh-94a57df0c9eceda18679b2823de74837fb5a73c1.zip |
Compile the library with the map file again.
-rw-r--r-- | libssh/CMakeLists.txt | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/libssh/CMakeLists.txt b/libssh/CMakeLists.txt index 89288db5..c890b94c 100644 --- a/libssh/CMakeLists.txt +++ b/libssh/CMakeLists.txt @@ -155,6 +155,15 @@ set_target_properties( ssh ) +if (UNIX AND CMAKE_COMPILER_IS_GNUCC) + set_target_properties( + ${LIBSSH_SHARED_LIBRARY} + PROPERTIES + LINK_FLAGS + -Wl,--version-script=${CMAKE_CURRENT_SOURCE_DIR}/libssh.map +) +endif (UNIX AND CMAKE_COMPILER_IS_GNUCC) + install( TARGETS ${LIBSSH_SHARED_LIBRARY} |