mariadb/plugin/fulltext/Makefile.am
svoj@april.(none) eddfcc147c 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.
2006-05-19 17:46:34 +05:00

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