Signed-off-by: Michel Stempin <michel.stem...@wanadoo.fr>
---
 net/l2tpv3tun/Makefile |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/net/l2tpv3tun/Makefile b/net/l2tpv3tun/Makefile
index f965569..2a6fab1 100644
--- a/net/l2tpv3tun/Makefile
+++ b/net/l2tpv3tun/Makefile
@@ -36,9 +36,9 @@ endef
 
 MAKE_FLAGS += \
        CC="$(TARGET_CC)" \
-       CFLAGS="$(TARGET_CFLAGS) -I$(STAGING_DIR)/usr/include 
-I$(LINUX_DIR)/include" \
+       CFLAGS="$(TARGET_CFLAGS) -I$(STAGING_DIR)/usr/include 
-I$(STAGING_DIR)/usr/include/libnl3 -I$(LINUX_DIR)/$(LINUX_UAPI_DIR)" \
        LD="$(TARGET_CC)" \
-       LDFLAGS="$(TARGET_LDFLAGS) -L$(STAGING_DIR)/usr/lib -lnl -lnl-genl"
+       LDFLAGS="$(TARGET_LDFLAGS) -L$(STAGING_DIR)/usr/lib -lnl-3 -lnl-genl-3"
 
 define Package/l2tpv3tun/install
        $(INSTALL_DIR) $(1)/usr/bin
-- 
1.7.10.4
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to