Skip to content

Commit a9b8eb4

Browse files
author
Ramil Kalimullin
committed
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.
1 parent c38864d commit a9b8eb4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

libmysqld/examples/Makefile.am

+2-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,8 @@ LDADD = @CLIENT_EXTRA_LDFLAGS@ ../libmysqld.a @LIBDL@ $(CXXLDFLAGS) \
4242

4343
mysqltest_embedded_LINK = $(CXXLINK)
4444
nodist_mysqltest_embedded_SOURCES = mysqltest.cc
45-
mysqltest_embedded_LDADD = $(LDADD) $(top_builddir)/regex/libregex.a
45+
mysqltest_embedded_LDADD = $(LDADD) $(top_builddir)/regex/libregex.a \
46+
@MYSQLD_EXTRA_LDFLAGS@
4647

4748
nodist_mysql_SOURCES = mysql.cc readline.cc completion_hash.cc \
4849
my_readline.h sql_string.h completion_hash.h

0 commit comments

Comments
 (0)