From 216397b8124dafafbd79afdf9f8e716b55775194 Mon Sep 17 00:00:00 2001 From: Tony Ambardar Date: Fri, 23 Nov 2018 16:40:24 -0800 Subject: [PATCH] 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 --- package/libs/elfutils/Makefile | 3 +++ 1 file changed, 3 insertions(+) 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