summaryrefslogtreecommitdiffstats
path: root/make
diff options
context:
space:
mode:
authorEric Andersen2003-01-17 04:46:57 +0100
committerEric Andersen2003-01-17 04:46:57 +0100
commit049fd2354b00f37a82749e5980330ecf6dbce572 (patch)
tree50f3b58cea0ba6fb3200536e5f18bb931e9cb7e1 /make
parentFixup ncurses installation of terminfo data (diff)
downloadbuildroot-049fd2354b00f37a82749e5980330ecf6dbce572.tar.gz
buildroot-049fd2354b00f37a82749e5980330ecf6dbce572.tar.xz
buildroot-049fd2354b00f37a82749e5980330ecf6dbce572.zip
Avoid installing into a nonexistant dir
Diffstat (limited to 'make')
-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/