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 /src/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 'src/Makefile.am')
-rw-r--r-- | src/Makefile.am | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Makefile.am b/src/Makefile.am index ea4bf45..624046f 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -3,6 +3,7 @@ SUBDIRS = lib AM_CPPFLAGS = \ + -I${top_srcdir}/include/linux-private \ -I${top_srcdir}/include \ -I${top_builddir}/include \ -D_GNU_SOURCE \ |