libedit: install pkgconfig file 4791/head
authorSebastian Kemper <sebastian_ml@gmx.net>
Thu, 31 Aug 2017 20:22:46 +0000 (22:22 +0200)
committerSebastian Kemper <sebastian_ml@gmx.net>
Thu, 31 Aug 2017 20:22:51 +0000 (22:22 +0200)
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>
libs/libedit/Makefile

index c91a4ee0bdc71ca86693b4b56ce1514ff0e171e4..59d98bafc42d6b9335667e9bbf5a1cb33f885de9 100644 (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