[PATCH 1/1] Fix build of VLAN_NETLINK.

Johannes Berg johannes
Mon Apr 8 13:40:50 PDT 2013


On Mon, 2013-04-08 at 18:18 +0200, michael-dev at fami-braun.de wrote:
> From: Michael Braun <michael-dev at fami-braun.de>
> 
> Signed-hostap: Michael Braun <michael-dev at fami-braun.de>
> ---
>  hostapd/Makefile | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/hostapd/Makefile b/hostapd/Makefile
> index 8404e0c..cc29031 100644
> --- a/hostapd/Makefile
> +++ b/hostapd/Makefile
> @@ -129,6 +129,8 @@ ifdef CONFIG_FULL_DYNAMIC_VLAN
>  OBJS += ../src/ap/vlan_util.o
>  endif
>  CFLAGS += -DCONFIG_VLAN_NETLINK
> +CFLAGS += -I /usr/include/libnl3
> +LIBS += -lnl-3 -lnl-genl-3 -lnl-route-3 -lnl-nf-3 -lnl-cli-3

That totally needs to be configurable, but there's probably already an
option for it for nl80211.

johannes




More information about the Hostap mailing list