summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorsvoj@mysql.com <>2005-06-15 01:39:58 +0500
committersvoj@mysql.com <>2005-06-15 01:39:58 +0500
commit8c9b9d0bc156cbfcc07c8c2040854d7b1e25e6aa (patch)
treeb849492a438afaedf21cbc9119acd3d888c23832 /tools
parentf183b1be31213982199b37d2c0cfdb1732e32568 (diff)
downloadmariadb-git-8c9b9d0bc156cbfcc07c8c2040854d7b1e25e6aa.tar.gz
WL#2286 - Compile MySQL w/YASSL support
Fix for link failures on boxes with non-gnu compiler. Fix for compilation failure on hpux11.
Diffstat (limited to 'tools')
-rw-r--r--tools/Makefile.am7
1 files changed, 6 insertions, 1 deletions
diff --git a/tools/Makefile.am b/tools/Makefile.am
index 036f0b8a76e..651ef2d22b3 100644
--- a/tools/Makefile.am
+++ b/tools/Makefile.am
@@ -15,13 +15,18 @@
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
# Process this file with automake to create Makefile.in
+if HAVE_YASSL
+ yassl_dummy_link_fix= $(top_srcdir)/extra/yassl/src/dummy.cpp
+else
+ yassl_dummy_link_fix=
+endif
INCLUDES=-I$(top_srcdir)/include $(openssl_includes) \
-I$(top_builddir)/include
LDADD= @CLIENT_EXTRA_LDFLAGS@ \
$(top_builddir)/libmysql_r/libmysqlclient_r.la \
@openssl_libs@ @ZLIB_LIBS@
bin_PROGRAMS= mysqltestmanager
-mysqltestmanager_SOURCES= mysqlmanager.c
+mysqltestmanager_SOURCES= mysqlmanager.c $(yassl_dummy_link_fix)
mysqltestmanager_DEPENDENCIES= $(LIBRARIES) $(pkglib_LTLIBRARIES)
DEF= -DUNDEF_THREADS_HACK