summaryrefslogtreecommitdiff
path: root/storage/federated
diff options
context:
space:
mode:
authorSergei Golubchik <sergii@pisem.net>2010-09-09 15:35:47 +0200
committerSergei Golubchik <sergii@pisem.net>2010-09-09 15:35:47 +0200
commit44fec70b7968778808673d9668c5fe08da03a7ca (patch)
tree3c0d1d8ae9467abad45be4540524a3ec99d6d70b /storage/federated
parentb7158601d35456fde4167fe44dcf505495b045af (diff)
downloadmariadb-git-44fec70b7968778808673d9668c5fe08da03a7ca.tar.gz
build dynamic plugins with the -shared libtool option to avoid
double compilation
Diffstat (limited to 'storage/federated')
-rw-r--r--storage/federated/Makefile.am5
1 files changed, 2 insertions, 3 deletions
diff --git a/storage/federated/Makefile.am b/storage/federated/Makefile.am
index 8419e0b866e..414fb5b7d5f 100644
--- a/storage/federated/Makefile.am
+++ b/storage/federated/Makefile.am
@@ -33,15 +33,14 @@ noinst_HEADERS = ha_federated.h
EXTRA_LTLIBRARIES = ha_federated.la
pkgplugin_LTLIBRARIES = @plugin_federated_shared_target@
ha_federated_la_LDFLAGS = -module -rpath $(pkgplugindir)
-ha_federated_la_CXXFLAGS= $(AM_CXXFLAGS) -DMYSQL_DYNAMIC_PLUGIN
-ha_federated_la_CFLAGS = $(AM_CFLAGS) -DMYSQL_DYNAMIC_PLUGIN
+ha_federated_la_CXXFLAGS= -shared $(AM_CXXFLAGS) -DMYSQL_DYNAMIC_PLUGIN
+ha_federated_la_CFLAGS = -shared $(AM_CFLAGS) -DMYSQL_DYNAMIC_PLUGIN
ha_federated_la_SOURCES = ha_federated.cc $(top_srcdir)/mysys/string.c
EXTRA_LIBRARIES = libfederated.a
noinst_LIBRARIES = @plugin_federated_static_target@
libfederated_a_CXXFLAGS = $(AM_CXXFLAGS)
-libfederated_a_CFLAGS = $(AM_CFLAGS)
libfederated_a_SOURCES= ha_federated.cc