diff options
author | Thierry Reding <thierry.reding@avionic-design.de> | 2011-01-14 10:38:05 (GMT) |
---|---|---|
committer | Thomas Graf <tgraf@suug.ch> | 2011-03-23 14:51:56 (GMT) |
commit | 913579b460b6e081e119e0ebdb662115857e0b43 (patch) | |
tree | 5e009fb2a4944ff68cbea0954670f533249908cb /lib | |
parent | a0fe7a1c9abe3ab5bf8c9253fab50e114b02b87b (diff) | |
download | libnl-913579b460b6e081e119e0ebdb662115857e0b43.zip libnl-913579b460b6e081e119e0ebdb662115857e0b43.tar.gz libnl-913579b460b6e081e119e0ebdb662115857e0b43.tar.bz2 |
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.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Makefile.am | 2 |
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 = \ |