aboutsummaryrefslogtreecommitdiff
path: root/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/meson.build b/meson.build
index 41bfe6722..cf1b877f9 100644
--- a/meson.build
+++ b/meson.build
@@ -417,7 +417,7 @@ check_funcs = [
'strsignal',
'sysconf',
]
-if target_machine.kernel() in ['linux', 'freebsd']
+if is_linux or is_freebsd
# musl does not have close_range as of 2024-08-10
# patch: https://www.openwall.com/lists/musl/2024/08/01/9
check_funcs += [ 'close_range' ]