diff -p -up pygobject-2.15.3/configure.ac~ pygobject-2.15.3/configure.ac
--- pygobject-2.15.3/configure.ac~	2008-07-26 14:14:24.000000000 +0200
+++ pygobject-2.15.3/configure.ac	2008-09-01 16:22:26.000000000 +0200
@@ -166,11 +166,13 @@ if test x"$with_libffi" = xyes && test x
 fi
 if test x"$have_libffi" = xyes; then
   AC_DEFINE(HAVE_FFI_H,1,[Have libffi include files])
+  LIBFFI_PC=libffi
 fi
 AC_MSG_RESULT([$have_libffi])
 AM_CONDITIONAL(HAVE_LIBFFI, test "$have_libffi" = "yes")
 AC_SUBST(FFI_CFLAGS)
 AC_SUBST(FFI_LIBS)
+AC_SUBST(LIBFFI_PC)
 
 dnl gio
 PKG_CHECK_MODULES(GIO, gio-2.0 >= gio_required_version,
diff -p -up pygobject-2.15.3/pygobject-2.0.pc.in~ pygobject-2.15.3/pygobject-2.0.pc.in
--- pygobject-2.15.3/pygobject-2.0.pc.in~	2008-07-14 23:40:18.000000000 +0200
+++ pygobject-2.15.3/pygobject-2.0.pc.in	2008-09-01 16:23:16.000000000 +0200
@@ -16,7 +16,6 @@ codegendir=${datadir}/pygobject/2.0/code
 
 Name: PyGObject
 Description: Python bindings for GObject
-Requires: gobject-2.0
+Requires: gobject-2.0 @LIBFFI_PC@
 Version: @VERSION@
-Libs: -L${libdir} @FFI_LIBS@
 Cflags: -I${pygtkincludedir}
diff -p -up pygobject-2.15.3/pygobject-2.0-uninstalled.pc.in~ pygobject-2.15.3/pygobject-2.0-uninstalled.pc.in
--- pygobject-2.15.3/pygobject-2.0-uninstalled.pc.in~	2008-07-14 23:40:18.000000000 +0200
+++ pygobject-2.15.3/pygobject-2.0-uninstalled.pc.in	2008-09-01 16:23:47.000000000 +0200
@@ -1,8 +1,7 @@
 Name: PyGObject
 Description: Python bindings for GObject
-Requires: gobject-2.0
+Requires: gobject-2.0 @LIBFFI_PC@
 Version: @VERSION@
-Libs: @FFI_LIBS@
 Cflags: -I${pc_top_builddir}/${pcfiledir}/gobject
 
 # you can use the --variable=pygtkincludedir argument to
