summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--package/lzma/lzma.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/lzma/lzma.mk b/package/lzma/lzma.mk
index 9a5a104f5..934e49263 100644
--- a/package/lzma/lzma.mk
+++ b/package/lzma/lzma.mk
@@ -56,7 +56,7 @@ $(STAGING_DIR)/bin/lzma: $(LZMA_HOST_DIR)/src/lzma/lzma
.PHONY: lzma-host use-lzma-host-binary
use-lzma-host-binary:
if [ ! -f "$(TOOL_BUILD_DIR)/bin/lzma" ]; then \
- [ -d $(TOOL_BUILD_DIR)/bin ] || mkdir $(TOOL_BUILD_DIR)/bin; \
+ [ -d $(TOOL_BUILD_DIR)/bin ] || mkdir -p $(TOOL_BUILD_DIR)/bin; \
ln -sf "$(HOST_LZMA_IF_ANY)" "$(TOOL_BUILD_DIR)/bin/lzma"; \
fi