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
master
Nicolas Thill 2011-10-25 21:10:37 +00:00
parent 163c5d5b6b
commit a2f8409245
1 changed files with 3 additions and 0 deletions

View File

@ -56,6 +56,9 @@ define Build/InstallDev
mkdir -p $(1)/usr/lib mkdir -p $(1)/usr/lib
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libz.{a,so*} \ $(CP) $(PKG_INSTALL_DIR)/usr/lib/libz.{a,so*} \
$(1)/usr/lib/ $(1)/usr/lib/
mkdir -p $(1)/usr/lib/pkgconfig
$(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/zlib.pc \
$(1)/usr/lib/pkgconfig/
endef endef
# libz.so is needed for openssl (zlib-dynamic) # libz.so is needed for openssl (zlib-dynamic)