woj-sandbox/build_libseccomp.sh
2022-10-02 14:10:31 +08:00

12 lines
274 B
Bash
Executable File

VERSION=v2.5.4
if [ -d ./libseccomp ]; then exit 0; fi
set -x
git clone https://github.com/seccomp/libseccomp.git &>/dev/null
cd libseccomp || exit 1
git checkout $VERSION &>/dev/null
./autogen.sh &>/dev/null
./configure --enable-shared=no &>/dev/null
make -j &>/dev/null