add pkgconfig information for popt library
[openwrt-github/.git] / package / libs / popt / Makefile
index bd2e6e2883da78189bc3786972f27b8183a44835..b31b311513582dd08336896f58162d4fe4c5a54d 100644 (file)
@@ -45,6 +45,8 @@ define Build/InstallDev
        $(CP) $(PKG_INSTALL_DIR)/usr/include/popt.h $(1)/usr/include/
        $(INSTALL_DIR) $(1)/usr/lib
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/libpopt.{a,so*} $(1)/usr/lib/
+       $(INSTALL_DIR) $(1)/usr/lib/pkgconfig
+       $(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/popt.pc $(1)/usr/lib/pkgconfig/
 endef
 
 define Package/libpopt/install