[PATCH] Put preprocessor definitions in AM_CPPFLAGS

Matthew L. Creech mlcreech at gmail.com
Mon Apr 19 11:16:30 EDT 2010


When an alternate kernel header include directory is added in
CPPFLAGS, the libnl build fails.  This is because the local copy of
kernel headers is added in AM_CFLAGS, which gets included after
CPPFLAGS in the automake-generated makefile.  Switching to AM_CPPFLAGS
fixes the problems.

-- 
Matthew L. Creech
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 01-cppflags.patch
Type: text/x-patch
Size: 875 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/libnl/attachments/20100419/6a5394ea/attachment.bin>


More information about the libnl mailing list