From f09cfea510abe712e022c3d84ef94f3946bb5b21 Mon Sep 17 00:00:00 2001 From: nbd Date: Sat, 24 Mar 2007 20:54:50 +0000 Subject: [PATCH] fix rp-l2tp build git-svn-id: svn://svn.openwrt.org/openwrt/packages@6679 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- net/rp-l2tp/Makefile | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/net/rp-l2tp/Makefile b/net/rp-l2tp/Makefile index 951cc7b8f..12eaa616f 100644 --- a/net/rp-l2tp/Makefile +++ b/net/rp-l2tp/Makefile @@ -50,13 +50,11 @@ define Package/rp-l2tpd-mod-ppp endef # uses GNU configure +MAKE_FLAGS += \ + DESTDIR="$(PKG_INSTALL_DIR)" \ + all install -define Build/Compile - $(MAKE) -C $(PKG_BUILD_DIR) \ - $(TARGET_CONFIGURE_OPTS) \ - DESTDIR="$(PKG_INSTALL_DIR)" \ - all install -endef +TARGET_CFLAGS := -I$(PKG_BUILD_DIR)/libevent $(TARGET_CFLAGS) define Package/rp-l2tpd/install $(INSTALL_DIR) $(1)/etc