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 /tests | |
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 'tests')
-rw-r--r-- | tests/Makefile.am | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am index c016bb8..8d1da59 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -7,6 +7,7 @@ if ENABLE_UNIT_TESTS AM_CPPFLAGS = \ -Wall \ + -I${top_srcdir}/include/linux-private \ -I${top_srcdir}/include \ -I${top_builddir}/include \ -D_GNU_SOURCE \ |