summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--package/zlib/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/package/zlib/Makefile b/package/zlib/Makefile
index 5cea85fc8..be642ce3c 100644
--- a/package/zlib/Makefile
+++ b/package/zlib/Makefile
@@ -56,6 +56,9 @@ define Build/InstallDev
mkdir -p $(1)/usr/lib
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libz.{a,so*} \
$(1)/usr/lib/
+ mkdir -p $(1)/usr/lib/pkgconfig
+ $(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/zlib.pc \
+ $(1)/usr/lib/pkgconfig/
endef
# libz.so is needed for openssl (zlib-dynamic)