Commit ee9f6e20 authored by Adam Jackson's avatar Adam Jackson 🦃

meson: Add support for libunwind

parent 42aaf372
......@@ -233,6 +233,7 @@ conf_data.set('XvExtension', build_xv)
conf_data.set('XvMCExtension', build_xvmc)
conf_data.set('HAVE_SHA1_IN_' + sha1.to_upper(), '1', description: 'Use @0@ SHA1 functions'.format(sha1))
conf_data.set('HAVE_LIBUNWIND', get_option('libunwind'))
conf_data.set('HAVE_APM', build_apm or build_acpi)
conf_data.set('HAVE_ACPI', build_acpi)
......
......@@ -639,6 +639,10 @@ if host_machine.system() == 'windows'
common_dep += socket_dep
endif
if get_option('libunwind')
common_dep += dependency('libunwind', required: true)
endif
glx_inc = include_directories('glx')
top_dir_inc = include_directories('.')
......
......@@ -121,3 +121,6 @@ option('sparkle-feed-url', type: 'string',
description: 'Feed URL for autoupdating with the Sparkle Framework (default: disabled)')
option('xpbproxy', type: 'boolean', value: false,
description: 'Build a standalone X pasteboard proxy')
option('libunwind', type: 'boolean', value: false,
description: 'Use libunwind for backtrace reporting')
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment