From: Tony Ambardar Date: Sat, 24 Nov 2018 00:40:24 +0000 (-0800) Subject: elfutils: install library files for pkg-config X-Git-Tag: v19.07.0-rc1~1807 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=4b4e6a04ac918d5cce2d168d9e656f3d2a29ec4b;p=openwrt%2Fstaging%2Fhauke.git elfutils: install library files for pkg-config Support other packages using pkg-config to query existence and details of libelf and libdw libraries at build time. Signed-off-by: Tony Ambardar --- diff --git a/package/libs/elfutils/Makefile b/package/libs/elfutils/Makefile index 70b26d0003..9fff14d283 100644 --- a/package/libs/elfutils/Makefile +++ b/package/libs/elfutils/Makefile @@ -71,6 +71,9 @@ define Build/InstallDev $(CP) $(PKG_INSTALL_DIR)/usr/lib/libasm*.{a,so*} $(1)/usr/lib/ $(CP) $(PKG_INSTALL_DIR)/usr/lib/libdw*.{a,so*} $(1)/usr/lib/ $(CP) $(PKG_INSTALL_DIR)/usr/lib/libelf*.{a,so*} $(1)/usr/lib/ + $(INSTALL_DIR) $(1)/usr/lib/pkgconfig + $(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/libelf.pc $(1)/usr/lib/pkgconfig/ + $(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/libdw.pc $(1)/usr/lib/pkgconfig/ endef define Package/libasm/install