Avoid installing into a nonexistant dir

This commit is contained in:
Eric Andersen 2003-01-17 03:46:57 +00:00
parent effd2aa39d
commit 049fd2354b

View File

@ -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/