[openwrt/openwrt] nftables: install package file

LEDE Commits lede-commits at lists.infradead.org
Tue Nov 30 07:16:34 PST 2021


ldir pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/7a48dfc90c6eb4ed160cea3e28401e84e3accc2a

commit 7a48dfc90c6eb4ed160cea3e28401e84e3accc2a
Author: Kevin Darbyshire-Bryant <ldir at darbyshire-bryant.me.uk>
AuthorDate: Mon Nov 29 20:30:42 2021 +0000

    nftables: install package file
    
    Install pc file so dnsmasq can find libnftables
    
    Signed-off-by: Kevin Darbyshire-Bryant <ldir at darbyshire-bryant.me.uk>
---
 package/network/utils/nftables/Makefile | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/package/network/utils/nftables/Makefile b/package/network/utils/nftables/Makefile
index 89bb10e0da..49c56ee6c3 100644
--- a/package/network/utils/nftables/Makefile
+++ b/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



More information about the lede-commits mailing list