diff -Nurd -x'*~' glib-2.32.3.orig/configure.ac glib-2.32.3/configure.ac
--- glib-2.32.3.orig/configure.ac	2012-05-14 18:05:58.000000000 -0400
+++ glib-2.32.3/configure.ac	2012-06-05 13:54:40.000000000 -0400
@@ -219,12 +219,12 @@
 
 if test "x$glib_have_carbon" = "xyes"; then
   AC_DEFINE(HAVE_CARBON, 1, [define to 1 if Carbon is available])
-  LDFLAGS="$LDFLAGS -framework Carbon"
+  LDFLAGS="$LDFLAGS -Wl,-framework,Carbon"
 fi
 
 if test "x$glib_have_cocoa" = "xyes"; then
   AC_DEFINE(HAVE_COCOA, 1, [define to 1 if Cocoa is available])
-  LDFLAGS="$LDFLAGS -framework Foundation"
+  LDFLAGS="$LDFLAGS -Wl,-framework,Foundation"
 fi
 
 gl_GLIBC21
diff -Nurd -x'*~' glib-2.32.3.orig/gio/Makefile.am glib-2.32.3/gio/Makefile.am
--- glib-2.32.3.orig/gio/Makefile.am	2012-05-14 17:58:06.000000000 -0400
+++ glib-2.32.3/gio/Makefile.am	2012-06-05 14:06:21.000000000 -0400
@@ -510,7 +510,7 @@
 if OS_COCOA
 # This is dumb.  The ObjC source file should be properly named .m
 libgio_2_0_la_CFLAGS = -xobjective-c
-libgio_2_0_la_LDFLAGS += -framework Foundation
+libgio_2_0_la_LDFLAGS += -Wl,-framework,Foundation
 endif
 
 libgio_2_0_la_DEPENDENCIES = $(gio_win32_res) $(gio_def) $(platform_deps)
