Include /folks in PKG_CONFIG_PATH
authorTravis Reitter <travis.reitter@collabora.co.uk>
Sat, 22 Jun 2013 00:41:24 +0000 (17:41 -0700)
committerTravis Reitter <travis.reitter@collabora.co.uk>
Mon, 24 Jun 2013 16:15:48 +0000 (09:15 -0700)
This is required for the gobject-introspection tools to find the folks
pkgconfig files.

Bug: https://bugzilla.gnome.org/show_bug.cgi?id=702490

configure.ac

index 53f5d27..b40d0d6 100644 (file)
@@ -53,6 +53,11 @@ LT_INIT
 PKG_PROG_PKG_CONFIG([0.21])
 GLIB_GSETTINGS
 
+# Always look for .pc files in /folks so backend support libraries can be
+# introspected properly
+PKG_CONFIG_PATH=$(pwd)/folks:$PKG_CONFIG_PATH
+AC_SUBST([PKG_CONFIG_PATH])
+
 AC_SUBST([CFLAGS])
 AC_SUBST([CPPFLAGS])
 AC_SUBST([LDFLAGS])