diff options
author | Thomas Haller <thaller@redhat.com> | 2014-09-24 05:49:34 (GMT) |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2014-09-24 14:00:31 (GMT) |
commit | d6f761bc4e6bdf2369d07ca3c9ee6626fdba3631 (patch) | |
tree | 91abb67c3c9b0c9a24d5a0210124c576d3412c64 /lib/Makefile.am | |
parent | 1e3f316081588cd7c25a54c1321571e29cfd806c (diff) | |
download | libnl-d6f761bc4e6bdf2369d07ca3c9ee6626fdba3631.zip libnl-d6f761bc4e6bdf2369d07ca3c9ee6626fdba3631.tar.gz libnl-d6f761bc4e6bdf2369d07ca3c9ee6626fdba3631.tar.bz2 |
build: move copy of linux headers to private directory
libnl3 contains a private copy of some kernel header files.
Normally, users are expected to install libnl and specify
-I$PREFIX/include/libnl3 as include path. As the private kernel
header files are not installed, this works fine.
However, it can be convenient to build against the libnl source
directory, without installing libnl. In this case, the private kernel
header files shaddow the system provided ones. This is undesired.
Move these files to a different directory to avoid this clash.
http://lists.infradead.org/pipermail/libnl/2014-September/001645.html
Signed-off-by: Thomas Haller <thaller@redhat.com>
Acked-by: Thomas Graf <tgraf@suug.ch>
Diffstat (limited to 'lib/Makefile.am')
-rw-r--r-- | lib/Makefile.am | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Makefile.am b/lib/Makefile.am index 2567323..f7e5a93 100644 --- a/lib/Makefile.am +++ b/lib/Makefile.am @@ -2,6 +2,7 @@ AM_CPPFLAGS = \ -Wall \ + -I${top_srcdir}/include/linux-private \ -I${top_srcdir}/include \ -I${top_builddir}/include \ -I${builddir}/route \ |