diff options
author | Vladislav Vaintroub <vvaintroub@koala> | 2009-12-07 02:16:05 +0100 |
---|---|---|
committer | Vladislav Vaintroub <vvaintroub@koala> | 2009-12-07 02:16:05 +0100 |
commit | a1ebd4245e9158b8fb242a49e9aeb6a0840fc92e (patch) | |
tree | be34c035a12551aff48f3bcdb4fcbf4754f8b3f0 /vio | |
parent | 555c99c8eb9dc1371df13af029c42e98e59756c0 (diff) | |
download | mariadb-git-a1ebd4245e9158b8fb242a49e9aeb6a0840fc92e.tar.gz |
On Linux, support -Wl,--no-undefined (only client shared library)
and --Wl,--as-needed (all shared modules). The later will remove
unused dependencies (also from gcc and C++ runtime)
Diffstat (limited to 'vio')
-rwxr-xr-x | vio/CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/vio/CMakeLists.txt b/vio/CMakeLists.txt index 3470db61c60..dae2ed2bb2f 100755 --- a/vio/CMakeLists.txt +++ b/vio/CMakeLists.txt @@ -20,3 +20,4 @@ ADD_DEFINITIONS(${SSL_DEFINES}) SET(VIO_SOURCES vio.c viosocket.c viossl.c viosslfactories.c) ADD_CONVENIENCE_LIBRARY(vio ${VIO_SOURCES}) +TARGET_LINK_LIBRARIES(vio ${LIBSOCKET}) |