mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-07-22 19:23:24 +00:00
Merge pull request #5233 from GabyCT/topic/exportlibseccomp
osbuilder: Export directory variables for libseccomp
This commit is contained in:
commit
f7f05f238e
@ -575,8 +575,8 @@ EOF
|
|||||||
info "Set up libseccomp"
|
info "Set up libseccomp"
|
||||||
detect_libseccomp_info || \
|
detect_libseccomp_info || \
|
||||||
die "Could not detect the required libseccomp version and url"
|
die "Could not detect the required libseccomp version and url"
|
||||||
libseccomp_install_dir=$(mktemp -d -t libseccomp.XXXXXXXXXX)
|
export libseccomp_install_dir=$(mktemp -d -t libseccomp.XXXXXXXXXX)
|
||||||
gperf_install_dir=$(mktemp -d -t gperf.XXXXXXXXXX)
|
export gperf_install_dir=$(mktemp -d -t gperf.XXXXXXXXXX)
|
||||||
${script_dir}/../../../ci/install_libseccomp.sh "${libseccomp_install_dir}" "${gperf_install_dir}"
|
${script_dir}/../../../ci/install_libseccomp.sh "${libseccomp_install_dir}" "${gperf_install_dir}"
|
||||||
echo "Set environment variables for the libseccomp crate to link the libseccomp library statically"
|
echo "Set environment variables for the libseccomp crate to link the libseccomp library statically"
|
||||||
export LIBSECCOMP_LINK_TYPE=static
|
export LIBSECCOMP_LINK_TYPE=static
|
||||||
|
Loading…
Reference in New Issue
Block a user