diff mbox

[1/1] Fix build of VLAN_NETLINK.

Message ID 1365437919-11671-1-git-send-email-michael-dev@fami-braun.de
State Rejected
Headers show

Commit Message

michael-dev April 8, 2013, 4:18 p.m. UTC
From: Michael Braun <michael-dev@fami-braun.de>

Signed-hostap: Michael Braun <michael-dev@fami-braun.de>
---
 hostapd/Makefile | 2 ++
 1 file changed, 2 insertions(+)

Comments

Johannes Berg April 8, 2013, 8:40 p.m. UTC | #1
On Mon, 2013-04-08 at 18:18 +0200, michael-dev@fami-braun.de wrote:
> From: Michael Braun <michael-dev@fami-braun.de>
> 
> Signed-hostap: Michael Braun <michael-dev@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
diff mbox

Patch

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
 endif
 endif