summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/package.mk2
1 files changed, 1 insertions, 1 deletions
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)" \