summaryrefslogtreecommitdiff
path: root/storage/blackhole
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/blackhole
parentb7158601d35456fde4167fe44dcf505495b045af (diff)
downloadmariadb-git-44fec70b7968778808673d9668c5fe08da03a7ca.tar.gz
build dynamic plugins with the -shared libtool option to avoid
double compilation
Diffstat (limited to 'storage/blackhole')
-rw-r--r--storage/blackhole/Makefile.am4
1 files changed, 1 insertions, 3 deletions
diff --git a/storage/blackhole/Makefile.am b/storage/blackhole/Makefile.am
index 2d27261b671..148746a9336 100644
--- a/storage/blackhole/Makefile.am
+++ b/storage/blackhole/Makefile.am
@@ -35,15 +35,13 @@ noinst_HEADERS = ha_blackhole.h
EXTRA_LTLIBRARIES = ha_blackhole.la
pkgplugin_LTLIBRARIES = @plugin_blackhole_shared_target@
ha_blackhole_la_LDFLAGS=-module -rpath $(pkgplugindir)
-ha_blackhole_la_CXXFLAGS=$(AM_CXXFLAGS) -DMYSQL_DYNAMIC_PLUGIN
-ha_blackhole_la_CFLAGS= $(AM_CFLAGS) -DMYSQL_DYNAMIC_PLUGIN
+ha_blackhole_la_CXXFLAGS=-shared $(AM_CXXFLAGS) -DMYSQL_DYNAMIC_PLUGIN
ha_blackhole_la_SOURCES=ha_blackhole.cc
EXTRA_LIBRARIES = libblackhole.a
noinst_LIBRARIES = @plugin_blackhole_static_target@
libblackhole_a_CXXFLAGS=$(AM_CXXFLAGS)
-libblackhole_a_CFLAGS = $(AM_CFLAGS)
libblackhole_a_SOURCES= ha_blackhole.cc