Commit 29a935d5 authored by Federico Mena Quintero's avatar Federico Mena Quintero

Merge branch 'meson-macos' into 'master'

meson: Fix build on macos

Closes #18

See merge request !22
parents a51fb732 5cd6c8f2
Pipeline #67447705 passed with stage
in 3 minutes and 13 seconds
......@@ -20,7 +20,8 @@ if host_machine.system() == 'windows'
c_args = []
if cc.has_function_attribute('visibility')
# The or is a workaround for
if cc.has_function_attribute('visibility') or (cc.get_id() == 'clang' and host_machine.system() == 'darwin')
c_args += '-DBZ_EXTERN=__attribute__((__visibility__("default")))'
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