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 /plugin/daemon_example/Makefile.am | |
parent | b7158601d35456fde4167fe44dcf505495b045af (diff) | |
download | mariadb-git-44fec70b7968778808673d9668c5fe08da03a7ca.tar.gz |
build dynamic plugins with the -shared libtool option to avoid
double compilation
Diffstat (limited to 'plugin/daemon_example/Makefile.am')
-rw-r--r-- | plugin/daemon_example/Makefile.am | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/plugin/daemon_example/Makefile.am b/plugin/daemon_example/Makefile.am index 02310699396..a64aa169606 100644 --- a/plugin/daemon_example/Makefile.am +++ b/plugin/daemon_example/Makefile.am @@ -27,15 +27,12 @@ INCLUDES = -I$(top_srcdir)/include -I$(top_builddir)/include \ EXTRA_LTLIBRARIES = libdaemon_example.la pkgplugin_LTLIBRARIES = @plugin_daemon_example_shared_target@ libdaemon_example_la_LDFLAGS = -module -rpath $(pkgplugindir) -libdaemon_example_la_CXXFLAGS= $(AM_CXXFLAGS) -DMYSQL_DYNAMIC_PLUGIN -libdaemon_example_la_CFLAGS = $(AM_CFLAGS) -DMYSQL_DYNAMIC_PLUGIN +libdaemon_example_la_CXXFLAGS= -shared $(AM_CXXFLAGS) -DMYSQL_DYNAMIC_PLUGIN libdaemon_example_la_SOURCES = daemon_example.cc - EXTRA_LIBRARIES = libdaemon_example.a noinst_LIBRARIES = @plugin_daemon_example_static_target@ libdaemon_example_a_CXXFLAGS = $(AM_CXXFLAGS) -libdaemon_example_a_CFLAGS = $(AM_CFLAGS) libdaemon_example_a_SOURCES= daemon_example.cc # Don't update the files from bitkeeper |