Merge pull request #206 from adamharrison/FixingMacMesonBuild

Fixed meson build on Mac.
This commit is contained in:
Adam 2021-05-21 21:30:28 -04:00 committed by GitHub
commit 50f6ebe8ee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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'
lite_link_args += ['-static-libgcc', '-static-libstdc++']
endif
if host_machine.system() == 'darwin'
lite_link_args += ['-framework', 'CoreServices', '-framework', 'Foundation']
endif
lite_rc = []
if host_machine.system() == 'windows'