Skip to content

meson: Improve PTRACE_O_EXITKILL presence check

The PTRACE_O_EXITKILL symbol in sys/ptrace.h is an enum member, not a macro. The #ifdef check added to the GSubprocess test-case in 272ec5db will not detect it.

Use cc.has_header_symbol() to properly detect it. According to the documentation: "Symbols here include function, variable, #define, type definition, etc.".

Fixes: 272ec5db Closes: #3156 (closed)

Merge request reports