Fix --enable-secomp

This commit is contained in:
Roy Marples 2023-07-20 10:48:37 +01:00
parent 8b65e2d6c7
commit 43c4b1b572

2
configure vendored
View File

@ -590,7 +590,7 @@ if [ "$PRIVSEP" = yes ]; then
case "$OS" in
linux*)
echo "PRIVSEP_SRCS+= privsep-linux.c" >>$CONFIG_MK
if [ -n "$SECCOMP" ] && [ "$SECCOMP" != no ]; then
if [ -n "$SECCOMP" ] && [ "$SECCOMP" = no ]; then
echo "#define DISABLE_SECCOMP" >>$CONFIG_H
fi
;;