summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--make/zlib.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/make/zlib.mk b/make/zlib.mk
index ee10e7051..11ea17cb1 100644
--- a/make/zlib.mk
+++ b/make/zlib.mk
@@ -42,6 +42,7 @@ $(TARGET_DIR)/lib/libz.so.1.1.4: $(STAGING_DIR)/lib/libz.so.1.1.4
touch -c $(TARGET_DIR)/lib/libz.so.1.1.4
$(TARGET_DIR)/usr/include/zlib.h: $(TARGET_DIR)/lib/libz.so.1.1.4
+ mkdir -p $(TARGET_DIR)/usr/include
cp -a $(STAGING_DIR)/include/zlib.h $(TARGET_DIR)/usr/include/
cp -a $(STAGING_DIR)/include/zconf.h $(TARGET_DIR)/usr/include/
cp -a $(STAGING_DIR)/lib/libz.a $(TARGET_DIR)/usr/lib/