From 93cc0a23c87c2ed4234fd26e25714c6def9ea0cb Mon Sep 17 00:00:00 2001 From: Egor Lazarchuk Date: Wed, 11 Dec 2024 16:04:26 +0000 Subject: [PATCH] chore: add additional path for libseccomp lib MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Kani on x86 for some reason cannot find libseccomp by default, so we add additional path to the build.rs Signed-off-by: Egor Lazarchuk Signed-off-by: Pablo Barbáchano --- src/seccompiler/build.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/seccompiler/build.rs b/src/seccompiler/build.rs index 69878f1f31b..d0d2a30e39e 100644 --- a/src/seccompiler/build.rs +++ b/src/seccompiler/build.rs @@ -2,5 +2,6 @@ // SPDX-License-Identifier: Apache-2.0 fn main() { + println!("cargo::rustc-link-search=/usr/local/lib"); println!("cargo::rustc-link-lib=seccomp"); }