meson: Let's check for libunwind.h
This is the header we use after all. And it is also available on the MacOS*.SDK too.
This commit is contained in:
parent
bb56770ed6
commit
83459c6eb2
1 changed files with 1 additions and 1 deletions
|
|
@ -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', required: false)
|
||||
have_unwind = libunwind.found() or cc.has_header('libunwind.h', required: false)
|
||||
conf.set('HAVE_LIBUNWIND', have_unwind ? 1 : false)
|
||||
|
||||
## Check for backtrace() API
|
||||
|
|
|
|||
Loading…
Reference in a new issue