diff options
author | Marko Mäkelä <marko.makela@mariadb.com> | 2019-03-07 14:31:54 +0200 |
---|---|---|
committer | Marko Mäkelä <marko.makela@mariadb.com> | 2019-03-07 14:32:20 +0200 |
commit | 1a5028f43081f9877743a465317ad3e33bd9ddfc (patch) | |
tree | 71b5e8f79e90811bc459da027b2fc347239b0ce7 /cmake | |
parent | 4c0f43f45aa2c1c9e469f01274bddc6b980a2535 (diff) | |
download | mariadb-git-1a5028f43081f9877743a465317ad3e33bd9ddfc.tar.gz |
Fix the WITH_ASAN clang build of dynamic plugins
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/plugin.cmake | 2 |
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() |