Commit fe7716da authored by unknown's avatar unknown

BUG#19907 - simple_parser plugin cannot be installed

The problem was that simple_parser was compiled as static plugin, which
is intended to be linked into server, but not plugged.

This patch makes simple_parser to be compiled as dynamic plugin by adding
-DMYSQL_DYNAMIC_PLUGIN into CFLAGS.


plugin/fulltext/Makefile.am:
  Compile mypluglib as dynamic mysql plugin.
parent 481ba778
...@@ -6,4 +6,4 @@ noinst_LTLIBRARIES= mypluglib.la ...@@ -6,4 +6,4 @@ noinst_LTLIBRARIES= mypluglib.la
#pkglib_LTLIBRARIES= mypluglib.la #pkglib_LTLIBRARIES= mypluglib.la
mypluglib_la_SOURCES= plugin_example.c mypluglib_la_SOURCES= plugin_example.c
mypluglib_la_LDFLAGS= -module -rpath $(pkglibdir) mypluglib_la_LDFLAGS= -module -rpath $(pkglibdir)
mypluglib_la_CFLAGS= -DMYSQL_DYNAMIC_PLUGIN
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment