aboutsummaryrefslogtreecommitdiffstats
path: root/package/libs
diff options
context:
space:
mode:
authorTony Ambardar <itugrok@yahoo.com>2018-11-23 16:40:24 -0800
committerKevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>2018-12-12 09:44:32 +0000
commit216397b8124dafafbd79afdf9f8e716b55775194 (patch)
tree361177d1ff24c70d2811e0393170f761b836b309 /package/libs
parentf5753aae233fa64b5d4784ade2cc170f7da539a4 (diff)
downloadupstream-216397b8124dafafbd79afdf9f8e716b55775194.tar.gz
upstream-216397b8124dafafbd79afdf9f8e716b55775194.tar.bz2
upstream-216397b8124dafafbd79afdf9f8e716b55775194.zip
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 <itugrok@yahoo.com>
Diffstat (limited to 'package/libs')
-rw-r--r--package/libs/elfutils/Makefile3
1 files changed, 3 insertions, 0 deletions
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