From: Andrea Zagli Date: Sat, 16 Apr 2016 09:56:11 +0000 (+0200) Subject: Bugfixes autotools tests. X-Git-Tag: v0.10.0~3 X-Git-Url: https://saetta.ns0.it/gitweb?a=commitdiff_plain;h=4f30d5b56fbc32861cf15467ff4b12dc438c27fc;p=zakconfi%2Flibzakconfi Bugfixes autotools tests. --- diff --git a/tests/Makefile.am b/tests/Makefile.am index 70c3c0b..ab6b30a 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -1,8 +1,13 @@ -AM_CPPFLAGS = $(LIBCONFI_CFLAGS) \ - -I../src +AM_CPPFLAGS = $(WARN_CFLAGS) \ + $(DISABLE_DEPRECATED_CFLAGS) \ + $(LIBCONFI_CFLAGS) \ + -I$(top_srcdir)/src LIBS = $(LIBCONFI_LIBS) \ - -L../src -lzakconfi + -L../src -lzakconfi \ + -export-dynamic + +LDADD = $(top_builddir)/src/libzakconfi.la noinst_PROGRAMS = test diff --git a/tests/test.c b/tests/test.c index dcc1f51..7dcbb43 100644 --- a/tests/test.c +++ b/tests/test.c @@ -21,7 +21,7 @@ #include -#include +#include "libzakconfi.h" gboolean traverse_func (GNode *node,