summaryrefslogtreecommitdiff
path: root/storage/pbxt
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/pbxt
parentb7158601d35456fde4167fe44dcf505495b045af (diff)
downloadmariadb-git-44fec70b7968778808673d9668c5fe08da03a7ca.tar.gz
build dynamic plugins with the -shared libtool option to avoid
double compilation
Diffstat (limited to 'storage/pbxt')
-rw-r--r--storage/pbxt/src/Makefile.am4
1 files changed, 2 insertions, 2 deletions
diff --git a/storage/pbxt/src/Makefile.am b/storage/pbxt/src/Makefile.am
index fc4c4ef8f1e..20399aee484 100644
--- a/storage/pbxt/src/Makefile.am
+++ b/storage/pbxt/src/Makefile.am
@@ -40,8 +40,8 @@ libpbxt_la_LDFLAGS = -module
# These are the warning Drizzle uses:
# DRIZZLE_WARNINGS = -W -Wall -Wextra -pedantic -Wundef -Wredundant-decls -Wno-strict-aliasing -Wno-long-long -Wno-unused-parameter
-libpbxt_la_CXXFLAGS = $(AM_CXXFLAGS) -DMYSQL_DYNAMIC_PLUGIN
-libpbxt_la_CFLAGS = $(AM_CFLAGS) -DMYSQL_DYNAMIC_PLUGIN -std=c99
+libpbxt_la_CXXFLAGS = -shared $(AM_CXXFLAGS) -DMYSQL_DYNAMIC_PLUGIN
+libpbxt_la_CFLAGS = -shared $(AM_CFLAGS) -DMYSQL_DYNAMIC_PLUGIN -std=c99
EXTRA_LIBRARIES = libpbxt.a
noinst_LIBRARIES = libpbxt.a