summaryrefslogtreecommitdiff
path: root/plugin/daemon_example
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/daemon_example
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/daemon_example')
-rw-r--r--plugin/daemon_example/CMakeLists.txt5
1 files changed, 3 insertions, 2 deletions
diff --git a/plugin/daemon_example/CMakeLists.txt b/plugin/daemon_example/CMakeLists.txt
index 3d674c4ef3e..28fbff78302 100644
--- a/plugin/daemon_example/CMakeLists.txt
+++ b/plugin/daemon_example/CMakeLists.txt
@@ -13,7 +13,8 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
-MYSQL_ADD_PLUGIN(daemon_example daemon_example.cc
+MYSQL_ADD_PLUGIN(daemon_example daemon_example.cc RECOMPILE_FOR_EMBEDDED
MODULE_ONLY MODULE_OUTPUT_NAME "libdaemon_example" COMPONENT Test)
-INSTALL(FILES daemon_example.ini DESTINATION ${INSTALL_PLUGINDIR} COMPONENT Test)
+INSTALL(FILES daemon_example.ini DESTINATION ${INSTALL_PLUGINDIR}
+ COMPONENT Test)