Fixed meson build on Mac.

This commit is contained in:
Adam Harrison 2021-05-21 16:31:31 -04:00
parent 949692860e
commit 18fe6576d8
1 changed files with 3 additions and 0 deletions

View File

@ -33,6 +33,9 @@ lite_link_args = []
if cc.get_id() == 'gcc' and get_option('buildtype') == 'release' if cc.get_id() == 'gcc' and get_option('buildtype') == 'release'
lite_link_args += ['-static-libgcc', '-static-libstdc++'] lite_link_args += ['-static-libgcc', '-static-libstdc++']
endif endif
if host_machine.system() == 'darwin'
lite_link_args += ['-framework', 'CoreSerivces', '-framework', 'Foundation']
endif
lite_rc = [] lite_rc = []
if host_machine.system() == 'windows' if host_machine.system() == 'windows'