blob: 9f07d31768fdf69cde59b1e11c66437622827b3a [file] [log] [blame]
b.liue9582032025-04-17 19:18:16 +08001--- 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