From 5d5746bdbab1356680ca99ae8ccce106cd0a21c5 Mon Sep 17 00:00:00 2001
From: Bjorn Munch <bjorn.munch@oracle.com>
Date: Mon, 5 Sep 2011 14:38:20 +0200
Subject: Bug #11750417 40942: UNABLE TO INSTALL FEDERATED PLUGIN   Link plugin
 with a copy of string.o   Copied test from 5.5 but this was dysfunctional,
 made it work   Also tested on Windows

---
 storage/federated/Makefile.am | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'storage/federated')

diff --git a/storage/federated/Makefile.am b/storage/federated/Makefile.am
index e0dae69539e..9b4e74af0a7 100644
--- a/storage/federated/Makefile.am
+++ b/storage/federated/Makefile.am
@@ -37,14 +37,14 @@ pkgplugin_LTLIBRARIES =	@plugin_federated_shared_target@
 ha_federated_la_LDFLAGS =	-module -rpath $(pkgplugindir)
 ha_federated_la_CXXFLAGS=	$(AM_CXXFLAGS) -DMYSQL_DYNAMIC_PLUGIN
 ha_federated_la_CFLAGS =	$(AM_CFLAGS) -DMYSQL_DYNAMIC_PLUGIN
-ha_federated_la_SOURCES =	ha_federated.cc
+ha_federated_la_SOURCES =	ha_federated.cc $(top_srcdir)/mysys/string.c
 
 
 EXTRA_LIBRARIES =	libfederated.a
 noinst_LIBRARIES =	@plugin_federated_static_target@
 libfederated_a_CXXFLAGS =	$(AM_CXXFLAGS)
 libfederated_a_CFLAGS =	$(AM_CFLAGS)
-libfederated_a_SOURCES=	ha_federated.cc
+libfederated_a_SOURCES=	ha_federated.cc $(top_srcdir)/mysys/string.c
 
 
 EXTRA_DIST =		CMakeLists.txt plug.in
-- 
cgit v1.2.1