]> saetta.ns0.it Git - zakconfi/libzakconfi/commitdiff
Bugfixes autotools tests.
authorAndrea Zagli <azagli@libero.it>
Sat, 16 Apr 2016 09:56:11 +0000 (11:56 +0200)
committerAndrea Zagli <azagli@libero.it>
Sat, 16 Apr 2016 10:03:06 +0000 (12:03 +0200)
tests/Makefile.am
tests/test.c

index 70c3c0b04ef05363c18d00d58e6e00363180322a..ab6b30a2e9eda095b32070287b309b5188639c8f 100644 (file)
@@ -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
 
index dcc1f51b9dc9aef6b7dc4415b9068247de8e283b..7dcbb43b6339889543a6b5f3e14f73a09cc2fdb7 100644 (file)
@@ -21,7 +21,7 @@
 
 #include <libgdaex/libgdaex.h>
 
-#include <libzakconfi.h>
+#include "libzakconfi.h"
 
 gboolean
 traverse_func (GNode *node,