aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/meson.build b/meson.build
index 1bd6426..183f7d7 100644
--- a/meson.build
+++ b/meson.build
@@ -77,11 +77,11 @@ if host_machine.system() == 'darwin'
platform_suppressions = [
'-DGL_SILENCE_DEPRECATION',
- '-Wl,-framework,Cocoa',
'-Wno-deprecated-declarations',
]
add_project_arguments(platform_suppressions, language: ['c', 'objc'])
+ add_project_link_arguments(['-Wl,-framework,Cocoa'], language: ['c', 'objc'])
# Windows
elif host_machine.system() == 'windows'