diff options
author | Sergei Golubchik <sergii@pisem.net> | 2010-09-09 15:35:47 +0200 |
---|---|---|
committer | Sergei Golubchik <sergii@pisem.net> | 2010-09-09 15:35:47 +0200 |
commit | 44fec70b7968778808673d9668c5fe08da03a7ca (patch) | |
tree | 3c0d1d8ae9467abad45be4540524a3ec99d6d70b /storage/example | |
parent | b7158601d35456fde4167fe44dcf505495b045af (diff) | |
download | mariadb-git-44fec70b7968778808673d9668c5fe08da03a7ca.tar.gz |
build dynamic plugins with the -shared libtool option to avoid
double compilation
Diffstat (limited to 'storage/example')
-rw-r--r-- | storage/example/Makefile.am | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/storage/example/Makefile.am b/storage/example/Makefile.am index 1c87adbbb4c..158b58a2e4c 100644 --- a/storage/example/Makefile.am +++ b/storage/example/Makefile.am @@ -35,15 +35,12 @@ noinst_HEADERS = ha_example.h EXTRA_LTLIBRARIES = ha_example.la pkgplugin_LTLIBRARIES = @plugin_example_shared_target@ ha_example_la_LDFLAGS = -module -rpath $(pkgplugindir) -ha_example_la_CXXFLAGS= $(AM_CXXFLAGS) -DMYSQL_DYNAMIC_PLUGIN -ha_example_la_CFLAGS = $(AM_CFLAGS) -DMYSQL_DYNAMIC_PLUGIN +ha_example_la_CXXFLAGS= -shared $(AM_CXXFLAGS) -DMYSQL_DYNAMIC_PLUGIN ha_example_la_SOURCES = ha_example.cc - EXTRA_LIBRARIES = libexample.a noinst_LIBRARIES = @plugin_example_static_target@ libexample_a_CXXFLAGS = $(AM_CXXFLAGS) -libexample_a_CFLAGS = $(AM_CFLAGS) libexample_a_SOURCES= ha_example.cc |