Browse Source

nftables: install package file

Install pc file so dnsmasq can find libnftables

Signed-off-by: Kevin Darbyshire-Bryant <[email protected]>
Kevin Darbyshire-Bryant 4 years ago
parent
commit
7a48dfc90c
1 changed files with 3 additions and 0 deletions
  1. 3 0
      package/network/utils/nftables/Makefile

+ 3 - 0
package/network/utils/nftables/Makefile

@@ -65,6 +65,9 @@ define Build/InstallDev
 	$(INSTALL_DIR) $(1)/usr/lib $(1)/usr/include
 	$(CP) $(PKG_INSTALL_DIR)/usr/lib/*.so* $(1)/usr/lib/
 	$(CP) $(PKG_INSTALL_DIR)/usr/include/nftables $(1)/usr/include/
+	$(INSTALL_DIR) $(1)/usr/lib/pkgconfig
+	$(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/libnftables.pc \
+		$(1)/usr/lib/pkgconfig/
 endef
 
 define Package/nftables/install/Default