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
master
Nicolas Thill 13 years ago
parent 3d1d93cb0c
commit 772a22ccb1
  1. 3
      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)

Loading…
Cancel
Save