From a2f8409245d3430cef68e8ee20b52fd67f5ac56e Mon Sep 17 00:00:00 2001 From: Nicolas Thill Date: Tue, 25 Oct 2011 21:10:37 +0000 Subject: [PATCH] package/zlib: include zlib.pc (pkconfig) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28591 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/zlib/Makefile | 3 +++ 1 file changed, 3 insertions(+) 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)