diff options
author | Ramil Kalimullin <ramil@mysql.com> | 2010-07-16 11:15:22 +0400 |
---|---|---|
committer | Ramil Kalimullin <ramil@mysql.com> | 2010-07-16 11:15:22 +0400 |
commit | 37c97fd472846fcb35575a51ab2937c0b82b9c5a (patch) | |
tree | d4430ad2ed4aa146c01208f35243496bb82a3d87 /libmysqld/examples | |
parent | 25bfbf684c0fefe658f6244e1f2cf23dd0246eae (diff) | |
download | mariadb-git-37c97fd472846fcb35575a51ab2937c0b82b9c5a.tar.gz |
Fix for bug #50667: The InnoDB plugin prevents initialization
of the "embedded" server
Problem: mysqltest_embedded failed to load ha_innodb_plugin library
on some platforms (due to some unresolved references).
Fix: on FreeBSD use -export-dynamic flag building mysqltest_embedded.
That allows to use its global symbols to resolve references in the
dynamically loaded plugin library.
libmysqld/examples/Makefile.am:
Fix for bug #50667: The InnoDB plugin prevents initialization
of the "embedded" server
- use -export-dynamic (on FreeBSD/DragonFly) building
mysqltest_embedded to allow using its global symbols
to resolve references in the dynamically loaded plugin libraries.
Diffstat (limited to 'libmysqld/examples')
-rw-r--r-- | libmysqld/examples/Makefile.am | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libmysqld/examples/Makefile.am b/libmysqld/examples/Makefile.am index 109d33a85ae..fd37f362960 100644 --- a/libmysqld/examples/Makefile.am +++ b/libmysqld/examples/Makefile.am @@ -42,7 +42,8 @@ LDADD = @CLIENT_EXTRA_LDFLAGS@ ../libmysqld.a @LIBDL@ $(CXXLDFLAGS) \ mysqltest_embedded_LINK = $(CXXLINK) nodist_mysqltest_embedded_SOURCES = mysqltest.cc -mysqltest_embedded_LDADD = $(LDADD) $(top_builddir)/regex/libregex.a +mysqltest_embedded_LDADD = $(LDADD) $(top_builddir)/regex/libregex.a \ + @MYSQLD_EXTRA_LDFLAGS@ nodist_mysql_SOURCES = mysql.cc readline.cc completion_hash.cc \ my_readline.h sql_string.h completion_hash.h |