summaryrefslogtreecommitdiff
path: root/mysys
diff options
context:
space:
mode:
authorVladislav Vaintroub <wlad@mariadb.com>2019-06-03 09:55:40 +0200
committerVladislav Vaintroub <wlad@mariadb.com>2019-06-03 09:55:59 +0200
commite730ea1e3ebe2a5f3b6d93d5c05c3c387fab8c57 (patch)
treeb8eff5f5c5a206380b88e7b51c68cf575fcd2923 /mysys
parentc9b49a4be723c18a8fad2bf4fd549079d45a33a5 (diff)
downloadmariadb-git-e730ea1e3ebe2a5f3b6d93d5c05c3c387fab8c57.tar.gz
Only link mysys_ssl when required.
Do not use TARGET_LINK_LIBRARIES(mysys mysys_ssl), this means that mysys_ssl is linked to practically everything.
Diffstat (limited to 'mysys')
-rw-r--r--mysys/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/mysys/CMakeLists.txt b/mysys/CMakeLists.txt
index 5afc3a079e7..22d758d45a5 100644
--- a/mysys/CMakeLists.txt
+++ b/mysys/CMakeLists.txt
@@ -73,8 +73,8 @@ IF(HAVE_MLOCK)
ENDIF()
ADD_CONVENIENCE_LIBRARY(mysys ${MYSYS_SOURCES})
-TARGET_LINK_LIBRARIES(mysys dbug strings mysys_ssl ${ZLIB_LIBRARY}
- ${LIBNSL} ${LIBM} ${LIBRT} ${LIBDL} ${LIBSOCKET} ${LIBEXECINFO} ${CRC32_VPMSUM_LIBRARY})
+TARGET_LINK_LIBRARIES(mysys dbug strings
+ ${ZLIB_LIBRARY} ${LIBNSL} ${LIBM} ${LIBRT} ${LIBDL} ${LIBSOCKET} ${LIBEXECINFO} ${CRC32_VPMSUM_LIBRARY})
DTRACE_INSTRUMENT(mysys)
IF(HAVE_BFD_H)