mirror of
https://github.com/MariaDB/server.git
synced 2025-01-20 22:12:30 +01:00
eddfcc147c
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.
9 lines
321 B
Makefile
9 lines
321 B
Makefile
#Makefile.am example for a plugin
|
|
|
|
pkglibdir=$(libdir)/mysql
|
|
INCLUDES= -I$(top_builddir)/include -I$(top_srcdir)/include
|
|
noinst_LTLIBRARIES= mypluglib.la
|
|
#pkglib_LTLIBRARIES= mypluglib.la
|
|
mypluglib_la_SOURCES= plugin_example.c
|
|
mypluglib_la_LDFLAGS= -module -rpath $(pkglibdir)
|
|
mypluglib_la_CFLAGS= -DMYSQL_DYNAMIC_PLUGIN
|