summaryrefslogtreecommitdiff
path: root/libmysqld
diff options
context:
space:
mode:
authorOleksandr Byelkin <sanja@mariadb.com>2021-05-05 15:56:23 +0200
committerOleksandr Byelkin <sanja@mariadb.com>2021-05-05 17:21:05 +0200
commit4f143a88bcb36e94e9edba8a3c5b4a350dcd9bf9 (patch)
tree46a98c881feffc6640a13771cef280ccb479c130 /libmysqld
parente7701f8db20f9c4f259e4d677e51e4760d336851 (diff)
downloadmariadb-git-4f143a88bcb36e94e9edba8a3c5b4a350dcd9bf9.tar.gz
Fix of ppc64 by Wladmariadb-10.3.29
Diffstat (limited to 'libmysqld')
-rw-r--r--libmysqld/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/libmysqld/CMakeLists.txt b/libmysqld/CMakeLists.txt
index 9880653b2a5..8886d69851b 100644
--- a/libmysqld/CMakeLists.txt
+++ b/libmysqld/CMakeLists.txt
@@ -446,9 +446,9 @@ IF(NOT DISABLE_SHARED)
# Clean direct output flags, as 2 targets have the same base name
# libmysqld
SET_TARGET_PROPERTIES(libmysqld PROPERTIES CLEAN_DIRECT_OUTPUT 1)
- TARGET_LINK_LIBRARIES(libmysqld ${CRC32_LIBRARY})
+ TARGET_LINK_LIBRARIES(libmysqld LINK_PRIVATE ${CRC32_LIBRARY})
SET_TARGET_PROPERTIES(mysqlserver PROPERTIES CLEAN_DIRECT_OUTPUT 1)
- TARGET_LINK_LIBRARIES(mysqlserver ${CRC32_LIBRARY})
+ TARGET_LINK_LIBRARIES(mysqlserver LINK_PRIVATE ${CRC32_LIBRARY})
IF(LIBMYSQLD_SO_EXTRA_LIBS)
TARGET_LINK_LIBRARIES(libmysqld ${LIBMYSQLD_SO_EXTRA_LIBS})
ENDIF()