Makefile.am: Fix out-of-tree builds.
authorFlorian Forster <octo@collectd.org>
Thu, 7 Dec 2017 16:06:49 +0000 (17:06 +0100)
committerFlorian Forster <octo@collectd.org>
Thu, 7 Dec 2017 16:06:49 +0000 (17:06 +0100)
Fixes: #2602

Makefile.am

index ae027a3..91e4b46 100644 (file)
@@ -516,6 +516,7 @@ liboconfig_la_SOURCES = \
        src/liboconfig/aux_types.h \
        src/liboconfig/scanner.l \
        src/liboconfig/parser.y
+liboconfig_la_CPPFLAGS = -I$(srcdir)/src/liboconfig $(AM_CPPFLAGS)
 liboconfig_la_LDFLAGS = -avoid-version $(LEXLIB)