summaryrefslogtreecommitdiff
path: root/package/glib/patches/patch-configure
diff options
context:
space:
mode:
Diffstat (limited to 'package/glib/patches/patch-configure')
-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 0000000..e7dea09
--- /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`