summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2019-03-07 14:31:54 +0200
committerMarko Mäkelä <marko.makela@mariadb.com>2019-03-07 14:32:20 +0200
commit1a5028f43081f9877743a465317ad3e33bd9ddfc (patch)
tree71b5e8f79e90811bc459da027b2fc347239b0ce7 /cmake
parent4c0f43f45aa2c1c9e469f01274bddc6b980a2535 (diff)
downloadmariadb-git-1a5028f43081f9877743a465317ad3e33bd9ddfc.tar.gz
Fix the WITH_ASAN clang build of dynamic plugins
Diffstat (limited to 'cmake')
-rw-r--r--cmake/plugin.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/plugin.cmake b/cmake/plugin.cmake
index 9c9c7082a43..cfd9677333e 100644
--- a/cmake/plugin.cmake
+++ b/cmake/plugin.cmake
@@ -209,7 +209,7 @@ MACRO(MYSQL_ADD_PLUGIN)
ELSEIF(NOT CMAKE_SYSTEM_NAME STREQUAL "Linux")
TARGET_LINK_LIBRARIES (${target} mysqld)
ENDIF()
- ELSEIF(CMAKE_SYSTEM_NAME STREQUAL "Linux")
+ ELSEIF(CMAKE_SYSTEM_NAME STREQUAL "Linux" AND NOT WITH_ASAN)
TARGET_LINK_LIBRARIES (${target} "-Wl,--no-undefined")
ENDIF()