From e800ef3c42f55b7823d5f83a18b1b0b5dbef0066 Mon Sep 17 00:00:00 2001 From: Florian Fainelli Date: Tue, 20 May 2014 04:51:53 +0000 Subject: [PATCH] l2tpv3tun: link against libnl-tiny We were not properly linking with libnl as intended, and linking with libnl-tiny works just fine, so use that one instead. Signed-off-by: Florian Fainelli SVN-Revision: 40798 --- net/l2tpv3tun/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/net/l2tpv3tun/Makefile b/net/l2tpv3tun/Makefile index f965569e2..f72d8d481 100644 --- a/net/l2tpv3tun/Makefile +++ b/net/l2tpv3tun/Makefile @@ -23,7 +23,7 @@ include $(INCLUDE_DIR)/package.mk define Package/l2tpv3tun SECTION:=net CATEGORY:=Network - DEPENDS:=+libnl +ip +kmod-l2tp +kmod-l2tp-ip +kmod-l2tp-eth + DEPENDS:=+libnl-tiny +ip +kmod-l2tp +kmod-l2tp-ip +kmod-l2tp-eth TITLE:=Control utility for static L2TP v3 (Pseudowire) tunnels MAINTAINER:=Thomas Heil URL:=http://www.openl2tp.org @@ -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/libnl-tiny/" \ LD="$(TARGET_CC)" \ - LDFLAGS="$(TARGET_LDFLAGS) -L$(STAGING_DIR)/usr/lib -lnl -lnl-genl" + LDFLAGS="$(TARGET_LDFLAGS) -L$(STAGING_DIR)/usr/lib/ -lnl-tiny" define Package/l2tpv3tun/install $(INSTALL_DIR) $(1)/usr/bin -- 2.30.2