projects
/
oweals
/
gnunet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
-make buildbots happier
[oweals/gnunet.git]
/
src
/
mysql
/
Makefile.am
diff --git
a/src/mysql/Makefile.am
b/src/mysql/Makefile.am
index 1711e7572532896634a8b186cecb347aae18ad90..d3c9ee31a0175684cd6f53f92cabde61b34634be 100644
(file)
--- a/
src/mysql/Makefile.am
+++ b/
src/mysql/Makefile.am
@@
-1,4
+1,4
@@
-
INCLUDE
S = -I$(top_srcdir)/src/include
+
AM_CPPFLAG
S = -I$(top_srcdir)/src/include
if MINGW
WINFLAGS = -Wl,--no-undefined -Wl,--export-all-symbols
if MINGW
WINFLAGS = -Wl,--no-undefined -Wl,--export-all-symbols
@@
-8,13
+8,14
@@
if USE_COVERAGE
AM_CFLAGS = --coverage
endif
AM_CFLAGS = --coverage
endif
+if HAVE_MYSQL
lib_LTLIBRARIES = libgnunetmysql.la
lib_LTLIBRARIES = libgnunetmysql.la
+endif
libgnunetmysql_la_SOURCES = \
mysql.c
libgnunetmysql_la_SOURCES = \
mysql.c
-libgnunetmysql_la_LIBADD = -lmysqlclient \
- $(top_builddir)/src/util/libgnunetutil.la
+libgnunetmysql_la_LIBADD =
$(MYSQL_LDFLAGS)
-lmysqlclient \
+ $(top_builddir)/src/util/libgnunetutil.la
libgnunetmysql_la_LDFLAGS = \
$(GN_LIB_LDFLAGS) \
-version-info 0:0:0
libgnunetmysql_la_LDFLAGS = \
$(GN_LIB_LDFLAGS) \
-version-info 0:0:0
-