From ed081b6cd3ea85789e6dde22b0c84f12b839c875 Mon Sep 17 00:00:00 2001
From: Nicolas Thill <nico@openwrt.org>
Date: Sun, 22 Oct 2006 21:15:55 +0000
Subject: [PATCH] strip third arg (dir name) to Build/Configure/Default macro

SVN-Revision: 5261
---
 include/package.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/package.mk b/include/package.mk
index 01781c71c7..5636b0b6a1 100644
--- a/include/package.mk
+++ b/include/package.mk
@@ -290,7 +290,7 @@ define Build/Prepare
 endef
 
 define Build/Configure/Default
-	(cd $(PKG_BUILD_DIR)/$(3); \
+	(cd $(PKG_BUILD_DIR)/$(strip $(3)); \
 	if [ -x configure ]; then \
 		$(TARGET_CONFIGURE_OPTS) \
 		CFLAGS="$(TARGET_CFLAGS)" \
-- 
2.30.2