[PATCH] src/drivers/drivers.mak: include libnl-tiny to DRV_CFLAGS to fix a build error

Jouni Malinen j at w1.fi
Sat Feb 7 23:36:55 PST 2026


On Tue, Feb 03, 2026 at 01:05:09PM +0000, Ivan Ivanov wrote:
> [PATCH] src/drivers/drivers.mak: include libnl-tiny to DRV_CFLAGS to
> fix a build error
> 
> Signed off by: Ivan Ivanov <qmastery16 at gmail.com>

That should be "Signed-off-by:".

> diff --git a/src/drivers/drivers.mak b/src/drivers/drivers.mak
> @@ -193,6 +193,7 @@ ifdef CONFIG_LIBNL32
>  else
>    ifdef CONFIG_LIBNL_TINY
>      DRV_LIBS += -lnl-tiny
> +    DRV_CFLAGS += -I/usr/include/libnl-tiny

This is not really a good way of addressing this since that could break
cross compilation. pkg-config should be used to find the needed include
directories just like it is used for libnl-3.0. If that cannot be used
for some reason, the directory might need to be added in .config for the
particular build.

-- 
Jouni Malinen                                            PGP id EFC895FA



More information about the Hostap mailing list