aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2022-10-07 17:20:31 -0400
committerDavid Robillard <d@drobilla.net>2022-10-07 17:20:31 -0400
commit53061d96e91e779ab523dc09248eb09a2a4c01bb (patch)
tree4ee54df6c4f7cf5ce284febc262711ff825aea06
parent7d32c6139c8380d863cfff5c46609ef23baf56c8 (diff)
downloadpugl-53061d96e91e779ab523dc09248eb09a2a4c01bb.tar.gz
pugl-53061d96e91e779ab523dc09248eb09a2a4c01bb.tar.bz2
pugl-53061d96e91e779ab523dc09248eb09a2a4c01bb.zip
Fix MacOS build
-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'