summaryrefslogtreecommitdiff
path: root/package/glib
diff options
context:
space:
mode:
authordir <dir@ableton.com>2017-12-06 18:06:12 +0100
committerdir <dir@ableton.com>2018-08-13 17:54:03 +0200
commit685114a29b20e073483f395421290b685a4c5899 (patch)
tree6f953e11cb683bb0e48afc2596dd1065e67306ac /package/glib
parent6ffa4d43382fe8187a0b336b091d1c400a4a7081 (diff)
Fix glib building on macOS
@upstream
Diffstat (limited to 'package/glib')
-rw-r--r--package/glib/patches/patch-configure11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/glib/patches/patch-configure b/package/glib/patches/patch-configure
new file mode 100644
index 000000000..e7dea094f
--- /dev/null
+++ b/package/glib/patches/patch-configure
@@ -0,0 +1,11 @@
+- glib-2.48.2.orig/configure 2016-08-17 18:37:42.000000000 +0200
++++ glib-2.48.2/configure 2017-12-14 14:37:31.000000000 +0100
+@@ -6027,7 +6027,7 @@ if test "x$glib_have_cocoa" = "xyes"; th
+
+ $as_echo "#define HAVE_COCOA 1" >>confdefs.h
+
+- COCOA_LIBS="-Wl,-framework,Foundation"
++ COCOA_LIBS="-Wl,-framework,Foundation,-framework,Cocoa"
+ LDFLAGS="$LDFLAGS $COCOA_LIBS"
+
+ osx_version=`sw_vers -productVersion`