summaryrefslogtreecommitdiffstats
path: root/make/zlib.mk
diff options
context:
space:
mode:
Diffstat (limited to 'make/zlib.mk')
-rw-r--r--make/zlib.mk8
1 files changed, 8 insertions, 0 deletions
diff --git a/make/zlib.mk b/make/zlib.mk
index ef28bde18..ee10e7051 100644
--- a/make/zlib.mk
+++ b/make/zlib.mk
@@ -41,6 +41,14 @@ $(TARGET_DIR)/lib/libz.so.1.1.4: $(STAGING_DIR)/lib/libz.so.1.1.4
-$(STRIP) --strip-unneeded $(TARGET_DIR)/lib/libz.so*
touch -c $(TARGET_DIR)/lib/libz.so.1.1.4
+$(TARGET_DIR)/usr/include/zlib.h: $(TARGET_DIR)/lib/libz.so.1.1.4
+ 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/
+ touch -c $(TARGET_DIR)/usr/include/zlib.h
+
+zlib-headers: $(TARGET_DIR)/usr/include/zlib.h
+
zlib: uclibc $(TARGET_DIR)/lib/libz.so.1.1.4
zlib-clean: