diff --git a/src/seccompiler/build.rs b/src/seccompiler/build.rs new file mode 100644 index 00000000000..b227900dda4 --- /dev/null +++ b/src/seccompiler/build.rs @@ -0,0 +1,9 @@ +// Copyright 2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. +// SPDX-License-Identifier: Apache-2.0 + +fn main() { + println!("cargo::rustc-env=LIBSECCOMP_LINK_TYPE=static"); + println!("cargo::rustc-env=LIBSECCOMP_LIB_PATH=/usr/local/lib"); + println!("cargo::rustc-link-search=/usr/local/lib"); + println!("cargo::rustc-link-lib=seccomp"); +}