summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicolas Thill <nico@openwrt.org>2011-10-25 21:10:37 +0000
committerNicolas Thill <nico@openwrt.org>2011-10-25 21:10:37 +0000
commit772a22ccb1a0a461be55e90c725128622effab4e (patch)
treeeb438aeb564788999da06b8da7431bee8c31fc78
parent3d1d93cb0cc45e96ca4e45db9067dea5b1232f7b (diff)
downloadmaster-31e0f0ae-772a22ccb1a0a461be55e90c725128622effab4e.tar.gz
master-31e0f0ae-772a22ccb1a0a461be55e90c725128622effab4e.tar.bz2
master-31e0f0ae-772a22ccb1a0a461be55e90c725128622effab4e.zip
package/zlib: include zlib.pc (pkconfig)
Compiling zlib produces zlib.pc (pkgconfig), but it is not currently installed in staging_dir/usr/lib/pkgconfig. If it was included other packages depending on zlib could easier be compiled. Signed-off-by: Espen Jürgensen <espenjurgensen@gmail.com> SVN-Revision: 28591
-rw-r--r--package/zlib/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/package/zlib/Makefile b/package/zlib/Makefile
index 5cea85fc85..be642ce3c2 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)