summaryrefslogtreecommitdiff
path: root/storage/archive
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/archive
parentb7158601d35456fde4167fe44dcf505495b045af (diff)
downloadmariadb-git-44fec70b7968778808673d9668c5fe08da03a7ca.tar.gz
build dynamic plugins with the -shared libtool option to avoid
double compilation
Diffstat (limited to 'storage/archive')
-rw-r--r--storage/archive/Makefile.am4
1 files changed, 2 insertions, 2 deletions
diff --git a/storage/archive/Makefile.am b/storage/archive/Makefile.am
index 94e98c468ad..254c95bf68b 100644
--- a/storage/archive/Makefile.am
+++ b/storage/archive/Makefile.am
@@ -36,8 +36,8 @@ noinst_PROGRAMS = archive_test archive_reader
EXTRA_LTLIBRARIES = ha_archive.la
pkgplugin_LTLIBRARIES = @plugin_archive_shared_target@
ha_archive_la_LDFLAGS = -module -rpath $(pkgplugindir)
-ha_archive_la_CXXFLAGS= $(AM_CXXFLAGS) -DMYSQL_DYNAMIC_PLUGIN
-ha_archive_la_CFLAGS = $(AM_CFLAGS) -DMYSQL_DYNAMIC_PLUGIN
+ha_archive_la_CXXFLAGS= -shared $(AM_CXXFLAGS) -DMYSQL_DYNAMIC_PLUGIN
+ha_archive_la_CFLAGS = -shared $(AM_CFLAGS) -DMYSQL_DYNAMIC_PLUGIN
ha_archive_la_SOURCES = ha_archive.cc azio.c