nftables: install package file
[openwrt/openwrt.git] / package / network / utils / nftables / Makefile
index 89bb10e0daf4e1d297335e8a547e65063991708d..49c56ee6c383c14abb13dc7177e63e995d79708a 100644 (file)
@@ -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