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~1959 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=216397b8124dafafbd79afdf9f8e716b55775194;p=oweals%2Fopenwrt.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