fix: libncap automake args

This commit is contained in:
Yaroslav Gurov
2026-04-16 15:31:28 +02:00
parent 13955dd36b
commit 526a7cad89

View File

@@ -37,10 +37,7 @@ class LibcapNg(ConanFile):
pkgconf = PkgConfigDeps(self)
pkgconf.generate()
tc = AutotoolsToolchain(self)
if self.options.shared:
tc.configure_args.extend(["--enable-shared", "--disable-static"])
else:
tc.configure_args.extend(["--disable-shared", "--enable-static"])
tc.configure_args += ["--without-python3", "--disable-cap-audit"]
tc.generate()
deps = AutotoolsDeps(self)
deps.generate()