summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThierry Reding <thierry.reding@avionic-design.de>2011-01-14 11:38:05 +0100
committerThomas Graf <tgraf@suug.ch>2011-03-23 15:51:56 +0100
commit913579b460b6e081e119e0ebdb662115857e0b43 (patch)
tree5e009fb2a4944ff68cbea0954670f533249908cb
parenta0fe7a1c9abe3ab5bf8c9253fab50e114b02b87b (diff)
downloadlibnl-913579b460b6e081e119e0ebdb662115857e0b43.tar.gz
Fix out-of-tree build.
This patch fixes out-of-tree build, that is, when building with $builddir != $srcdir. In such a case, some generated header files are not found because they live in a different tree and can be fixed by adding the directories to the compiler's include search path.
-rw-r--r--lib/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Makefile.am b/lib/Makefile.am
index ccedf43..5999113 100644
--- a/lib/Makefile.am
+++ b/lib/Makefile.am
@@ -1,6 +1,6 @@
# -*- Makefile -*-
-AM_CPPFLAGS = -Wall -I${top_srcdir}/include -I${top_builddir}/include -D_GNU_SOURCE -DSYSCONFDIR=\"$(sysconfdir)/libnl\"
+AM_CPPFLAGS = -Wall -I${top_srcdir}/include -I${top_builddir}/include -I${builddir}/route -I${builddir}/route/cls -D_GNU_SOURCE -DSYSCONFDIR=\"$(sysconfdir)/libnl\"
AM_LDFLAGS = -version-info 3:0:0
lib_LTLIBRARIES = \