summaryrefslogtreecommitdiffstats
path: root/package/zlib/Makefile
diff options
context:
space:
mode:
authornico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-10-25 21:10:37 +0000
committernico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-10-25 21:10:37 +0000
commit990d598a8139406531be6c53fa4ab1dd6af32bb4 (patch)
treeaeef6b54d057206bb14d1b9b4500281c86fed675 /package/zlib/Makefile
parent543e578b89ee5d890b7085903e37d2e983206960 (diff)
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/Makefile')
-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)