b.liu | e958203 | 2025-04-17 19:18:16 +0800 | [diff] [blame^] | 1 | --- a/configure |
2 | +++ b/configure | ||||
3 | @@ -342,7 +342,7 @@ check_libbpf() | ||||
4 | check_selinux() | ||||
5 | # SELinux is a compile time option in the ss utility | ||||
6 | { | ||||
7 | - if ${PKG_CONFIG} libselinux --exists; then | ||||
8 | + if [ "${HAVE_SELINUX}" = "y" ] && ${PKG_CONFIG} libselinux --exists; then | ||||
9 | echo "HAVE_SELINUX:=y" >>$CONFIG | ||||
10 | echo "yes" | ||||
11 |