aboutsummaryrefslogtreecommitdiffstats
path: root/package/zlib
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
commita2f8409245d3430cef68e8ee20b52fd67f5ac56e (patch)
treeaeef6b54d057206bb14d1b9b4500281c86fed675 /package/zlib
parent163c5d5b6bfb5f6925ca17d4339b92bc3e5e31e2 (diff)
downloadmaster-187ad058-a2f8409245d3430cef68e8ee20b52fd67f5ac56e.tar.gz
master-187ad058-a2f8409245d3430cef68e8ee20b52fd67f5ac56e.tar.bz2
master-187ad058-a2f8409245d3430cef68e8ee20b52fd67f5ac56e.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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28591 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/zlib')
-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)