bugfix ("cannot find collectd.h") for branch master (and 5.2)
authorYves Mettier <ymettier@free.fr>
Tue, 20 Nov 2012 17:13:39 +0000 (18:13 +0100)
committerFlorian Forster <octo@collectd.org>
Fri, 25 Jan 2013 13:30:20 +0000 (14:30 +0100)
Signed-off-by: Florian Forster <octo@collectd.org>
src/libcollectdclient/Makefile.am

index 9fbf0d1..7167f51 100644 (file)
@@ -11,7 +11,7 @@ nodist_pkgconfig_DATA = libcollectdclient.pc
 BUILT_SOURCES = collectd/lcc_features.h
 
 libcollectdclient_la_SOURCES = client.c network.c network_buffer.c
-libcollectdclient_la_CPPFLAGS = $(AM_CPPFLAGS)
+libcollectdclient_la_CPPFLAGS = $(AM_CPPFLAGS) -I$(top_srcdir)/src
 libcollectdclient_la_LDFLAGS = -version-info 1:0:0
 libcollectdclient_la_LIBADD = 
 if BUILD_WITH_LIBGCRYPT