From 18fe6576d864a58c22d39df3e861f36dfc97912a Mon Sep 17 00:00:00 2001 From: Adam Harrison Date: Fri, 21 May 2021 16:31:31 -0400 Subject: [PATCH 1/2] Fixed meson build on Mac. --- meson.build | 3 +++ 1 file changed, 3 insertions(+) diff --git a/meson.build b/meson.build index 5b9576d4..888ea9bf 100644 --- a/meson.build +++ b/meson.build @@ -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', 'CoreSerivces', '-framework', 'Foundation'] +endif lite_rc = [] if host_machine.system() == 'windows' From 3a5f04fae54102aee8aca1c70e6695f68c0369c5 Mon Sep 17 00:00:00 2001 From: Adam Harrison Date: Fri, 21 May 2021 16:32:26 -0400 Subject: [PATCH 2/2] Spelling mistkae. --- meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meson.build b/meson.build index 888ea9bf..414c7616 100644 --- a/meson.build +++ b/meson.build @@ -34,7 +34,7 @@ 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', 'CoreSerivces', '-framework', 'Foundation'] + lite_link_args += ['-framework', 'CoreServices', '-framework', 'Foundation'] endif lite_rc = []