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.
This commit is contained in:
parent
a0fe7a1c9a
commit
913579b460
1 changed files with 1 additions and 1 deletions
|
@ -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 = \
|
||||
|
|
Loading…
Add table
Reference in a new issue