Commit b0133b61 authored by Michael Gratton's avatar Michael Gratton 🤞

Merge branch 'wip/update-libunwind-build-option' into 'master'

Flip the sense of the libunwind build option

See merge request !127
parents 8a364995 ee867393
Pipeline #61200 failed with stages
in 15 minutes and 19 seconds
......@@ -70,8 +70,12 @@ libmath = cc.find_library('m')
libnotify = dependency('libnotify', version: '>= 0.7.5')
libsecret = dependency('libsecret-1', version: '>= 0.11')
libsoup = dependency('libsoup-2.4', version: '>= 2.48')
libunwind_dep = dependency('libunwind', version: '>= 1.1', required: get_option('libunwind'))
libunwind_generic_dep = dependency('libunwind-generic', version: '>= 1.1', required: get_option('libunwind'))
libunwind_dep = dependency(
'libunwind', version: '>= 1.1', required: not get_option('libunwind_optional')
)
libunwind_generic_dep = dependency(
'libunwind-generic', version: '>= 1.1', required: not get_option('libunwind_optional')
)
libxml = dependency('libxml-2.0', version: '>= 2.7.8')
posix = valac.find_library('posix')
webkit2gtk_web_extension = dependency('webkit2gtk-web-extension-4.0', version: '>=' + target_webkit)
......
......@@ -4,4 +4,4 @@ option('poodle', type: 'boolean', value: true, description: 'Whether to apply th
option('ref_tracking', type: 'boolean', value: false, description: 'Whether to use explicit reference tracking.')
option('iso_639_xml', type: 'string', value: '', description: 'Full path to the ISO 639 XML file.')
option('iso_3166_xml', type: 'string', value: '', description: 'Full path to the ISO 3166 XML file.')
option('libunwind', type: 'boolean', value: true, description: 'Whether to depend on libunwind.')
option('libunwind_optional', type: 'boolean', value: false, description: 'Determines if libunwind is required.')
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