summaryrefslogtreecommitdiffstats
path: root/include/package.mk
diff options
context:
space:
mode:
Diffstat (limited to 'include/package.mk')
-rw-r--r--include/package.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/package.mk b/include/package.mk
index 01781c71c..5636b0b6a 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)" \