From 794758088c32cdc349fe3aad83741d1b7055521e Mon Sep 17 00:00:00 2001 From: "Nathan S. Evans" Date: Wed, 21 Jul 2010 12:10:37 +0000 Subject: [PATCH] check library location as done in configure.ac --- src/dht/Makefile.am | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/dht/Makefile.am b/src/dht/Makefile.am index 64c6371a8..8f4fec4a9 100644 --- a/src/dht/Makefile.am +++ b/src/dht/Makefile.am @@ -39,7 +39,7 @@ libgnunetdhtlog_la_LIBADD = \ libgnunetdhtlog_la_LDFLAGS = \ $(GN_LIB_LDFLAGS) $(WINFLAGS) \ -version-info 0:0:0 - + if HAVE_MYSQL libgnunet_plugin_dhtlog_mysql_la_SOURCES = \ plugin_dhtlog_mysql.c @@ -47,7 +47,9 @@ libgnunet_plugin_dhtlog_mysql_la_LIBADD = \ $(top_builddir)/src/util/libgnunetutil.la \ $(XLIB) libgnunet_plugin_dhtlog_mysql_la_LDFLAGS = \ - $(GN_PLUGIN_LDFLAGS) -lmysqlclient $(ZLIB_LNK) + $(GN_PLUGIN_LDFLAGS) $(MYSQL_LDFLAGS) -lmysqlclient $(ZLIB_LNK) +libgnunet_plugin_dhtlog_mysql_la_CPPFLAGS = \ + $(MYSQL_CPPFLAGS) endif libgnunetdht_la_SOURCES = \ -- 2.25.1