summaryrefslogtreecommitdiffstats
path: root/src/lib
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2014-09-24 05:49:34 (GMT)
committerThomas Haller <thaller@redhat.com>2014-09-24 14:00:31 (GMT)
commitd6f761bc4e6bdf2369d07ca3c9ee6626fdba3631 (patch)
tree91abb67c3c9b0c9a24d5a0210124c576d3412c64 /src/lib
parent1e3f316081588cd7c25a54c1321571e29cfd806c (diff)
downloadlibnl-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 'src/lib')
-rw-r--r--src/lib/Makefile.am1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/Makefile.am b/src/lib/Makefile.am
index 4b9b4a9..27c74fd 100644
--- a/src/lib/Makefile.am
+++ b/src/lib/Makefile.am
@@ -1,6 +1,7 @@
# -*- Makefile -*-
AM_CPPFLAGS = \
+ -I${top_srcdir}/include/linux-private \
-I${top_srcdir}/include \
-I${top_builddir}/include \
-D_GNU_SOURCE \