[PATCH 2/2] build: move copy of linux headers to private directory

Thomas Graf tgraf at suug.ch
Wed Sep 24 01:23:51 PDT 2014


On 09/24/14 at 07:49am, Thomas Haller wrote:
> libnl3 contains a private copy of some kernel header files.
> 
> Normally, users are be 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 at redhat.com>

Might break a couple of builds which currently rely on these versions
of headers being available to their app but it's the right thing to
do.

Acked-by: Thomas Graf <tgraf at suug.ch>



More information about the libnl mailing list