mirror of
https://github.com/moby/moby.git
synced 2026-01-11 18:51:37 +00:00
Add build tag "no_libnftables"
With this tag, a dynamically linked binary will exec the nft tool instead of using cgo to call libnftables directly. Signed-off-by: Rob Murray <rob.murray@docker.com>
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
//go:build cgo && !static_build
|
||||
//go:build cgo && !static_build && !no_libnftables
|
||||
|
||||
package nftables
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
//go:build !cgo || static_build
|
||||
//go:build !cgo || static_build || no_libnftables
|
||||
|
||||
package nftables
|
||||
|
||||
|
||||
Reference in New Issue
Block a user