libedit: install pkgconfig file

Some configure scripts rely on pkgconfig to detect libedit, for instance
asterisk-13. Install the file so libedit can be used there as well.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
This commit is contained in:
Sebastian Kemper 2017-08-31 22:22:46 +02:00
parent 0f2e10a74a
commit f546c74155
1 changed files with 3 additions and 0 deletions

View File

@ -44,6 +44,9 @@ define Build/InstallDev
$(INSTALL_DIR) $(1)/usr/lib
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libedit.{a,so*} $(1)/usr/lib/
$(INSTALL_DIR) $(1)/usr/lib/pkgconfig
$(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/libedit.pc $(1)/usr/lib/pkgconfig
endef
define Package/libedit/install