summaryrefslogtreecommitdiff
path: root/plugin/auth_dialog
diff options
context:
space:
mode:
authorVladislav Vaintroub <wlad@mariadb.com>2017-04-25 15:44:18 +0200
committerSergei Golubchik <serg@mariadb.org>2017-04-27 19:12:38 +0200
commit7bf409593e624deb00265e21e0d4579ce9fa7999 (patch)
tree7da6af1ff5a92126af5969a9504a82ddcf4cf263 /plugin/auth_dialog
parentdb3910741347e7d741f4a854075c248e9081d722 (diff)
downloadmariadb-git-7bf409593e624deb00265e21e0d4579ce9fa7999.tar.gz
MDEV-11660 Make encryption plugins "pure"
Do not exporting mysqld entry points directly. This is needed for mariabackup, to load encryption plugins on Windows. All plugins are "pure" by default. To mark plugin "impure" it should use RECOMPILE_FOR_EMBEDDED or STORAGE_ENGINE keyword.
Diffstat (limited to 'plugin/auth_dialog')
-rw-r--r--plugin/auth_dialog/CMakeLists.txt5
1 files changed, 4 insertions, 1 deletions
diff --git a/plugin/auth_dialog/CMakeLists.txt b/plugin/auth_dialog/CMakeLists.txt
index 771bc615bd5..d16007405dc 100644
--- a/plugin/auth_dialog/CMakeLists.txt
+++ b/plugin/auth_dialog/CMakeLists.txt
@@ -15,5 +15,8 @@
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
ADD_DEFINITIONS(-DNO_GET_TTY_PASSWORD)
+IF(LIBDL)
+ SET(LLDL LINK_LIBRARIES dl)
+ENDIF()
MYSQL_ADD_PLUGIN(dialog dialog.c ${CMAKE_SOURCE_DIR}/libmysql/get_password.c
- MODULE_ONLY CLIENT COMPONENT ClientPlugins)
+ MODULE_ONLY CLIENT ${LLDL} COMPONENT ClientPlugins)