From 685114a29b20e073483f395421290b685a4c5899 Mon Sep 17 00:00:00 2001 From: dir Date: Wed, 6 Dec 2017 18:06:12 +0100 Subject: Fix glib building on macOS @upstream --- package/glib/patches/patch-configure | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 package/glib/patches/patch-configure (limited to 'package/glib') 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` -- cgit v1.2.3