mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2026-02-05 04:06:20 -05:00
darwin: Locate libexpat with cc.find_library() rather than dependency()
Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
This commit is contained in:
parent
0b01986b0b
commit
f4b698c0d3
1 changed files with 6 additions and 1 deletions
|
|
@ -29,7 +29,12 @@ wayland_util_dep = declare_dependency(
|
|||
if get_option('scanner')
|
||||
# wayland-scanner
|
||||
|
||||
scanner_deps = [ dependency('expat') ]
|
||||
if host_machine.system() == 'darwin'
|
||||
scanner_deps = [ cc.find_library('expat') ]
|
||||
else
|
||||
scanner_deps = [ dependency('expat') ]
|
||||
endif
|
||||
|
||||
scanner_args = [ '-include', 'config.h' ]
|
||||
|
||||
if get_option('dtd_validation')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue