Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/4093
Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
Reviewed-by: Dylan Baker <dylan@pnwbakers.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8506>
pre_args += '-DHAVE_PTHREAD_SETAFFINITY'
endif
endif
-if host_machine.system() != 'windows'
+if host_machine.system() == 'darwin'
+ dep_expat = meson.get_compiler('c').find_library('expat')
+elif host_machine.system() != 'windows'
dep_expat = dependency('expat', fallback : ['expat', 'expat_dep'],
required: not with_platform_android or with_any_broadcom or with_any_intel)
else