From: Jo-Philipp Wich Date: Fri, 4 Mar 2011 07:41:39 +0000 (+0000) Subject: [packages] openl2tp: fix compilation against librpc X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=830351110b5c4bd6cae037e34c04548a99885881;p=openwrt%2Fsvn-archive%2Farchive.git [packages] openl2tp: fix compilation against librpc SVN-Revision: 25860 --- diff --git a/net/openl2tp/Makefile b/net/openl2tp/Makefile index 1c16d50e90..811225da46 100644 --- a/net/openl2tp/Makefile +++ b/net/openl2tp/Makefile @@ -25,7 +25,8 @@ include $(INCLUDE_DIR)/package.mk define Package/openl2tp SECTION:=net CATEGORY:=Network - DEPENDS:=+kmod-pppol2tp +ppp +portmap +libreadline +libncurses @!LINUX_2_4 + DEPENDS:=+kmod-pppol2tp +ppp +portmap +libreadline +libncurses \ + @!LINUX_2_4 $(LIBRPC_DEPENDS) TITLE:=An L2TP (Layer 2 Tunneling Protocol) daemon URL:=http://www.openl2tp.org/ SUBMENU:=VPN @@ -45,7 +46,9 @@ MAKE_FLAGS+= \ PPPD_VERSION="$(PKG_PPPD_VERSION)" \ READLINE_DIR="$(STAGING_DIR)/usr" \ PPPD_SRCDIR="$(STAGING_DIR)/usr/include" \ - PPPD_LIBDIR="$(STAGING_DIR)/usr/lib" + PPPD_LIBDIR="$(STAGING_DIR)/usr/lib" \ + CPPFLAGS="-I$(STAGING_DIR)/usr/include" \ + LIBS.dmalloc="-L$(STAGING_DIR)/usr/lib $(LIBRPC)" define Package/openl2tp/install $(INSTALL_DIR) $(1)/usr/bin