meson: Ensure unwind.h is interpreted as non mandatory

Following d0ca8bb9

It is not a required dependency.
This commit is contained in:
Bruno Lopes 2026-01-02 16:00:27 -03:00
parent e03ac3a9ee
commit bb56770ed6

View file

@ -725,7 +725,7 @@ libunwind = ( get_option('libunwind')
? dependency('libunwind', version: '>=1.1.0', required: false)
: no_dep
)
have_unwind = libunwind.found() or cc.has_header('unwind.h')
have_unwind = libunwind.found() or cc.has_header('unwind.h', required: false)
conf.set('HAVE_LIBUNWIND', have_unwind ? 1 : false)
## Check for backtrace() API