summary refs log tree commit diff
path: root/pkgs/development/libraries/glib/link-with-coreservices.patch
blob: dcc0a8998cc3bb9e500c9b048f2110975236d1b0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- a/meson.build.orig	2020-11-25 13:47:38.499149252 +0900
+++ b/meson.build	2020-11-25 13:48:47.098444800 +0900
@@ -742,7 +742,7 @@
 
   if glib_have_carbon
     glib_conf.set('HAVE_CARBON', true)
-    osx_ldflags += '-Wl,-framework,Carbon'
+    osx_ldflags += ['-Wl,-framework,Carbon', '-Wl,-framework,CoreServices']
     glib_have_os_x_9_or_later = objcc.compiles('''#include <AvailabilityMacros.h>
                                                   #if MAC_OS_X_VERSION_MIN_REQUIRED < 1090
                                                   #error Compiling for minimum OS X version before 10.9