From 4f30d5b56fbc32861cf15467ff4b12dc438c27fc Mon Sep 17 00:00:00 2001 From: Andrea Zagli Date: Sat, 16 Apr 2016 11:56:11 +0200 Subject: [PATCH] Bugfixes autotools tests. --- tests/Makefile.am | 11 ++++++++--- tests/test.c | 2 +- 2 files changed, 9 insertions(+), 4 deletions(-) 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, -- 2.49.0