--- configure.orig	2009-05-03 09:59:22.000000000 -0700
+++ configure	2009-07-06 15:09:27.000000000 -0700
@@ -5125,7 +5125,7 @@
       LDFLAGS="$LDFLAGS -Wl,-brtl"
       ;;
     darwin*) #include frameworks
-      LIBS="$LIBS -framework CoreFoundation -framework IOKit"
+      LIBS="$LIBS -Wl,-framework,CoreFoundation -Wl,-framework,IOKit"
       ;;
   esac
 
