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");
 }