summaryrefslogtreecommitdiff
path: root/backends/eds
diff options
context:
space:
mode:
authorPhilip Withnall <philip.withnall@collabora.co.uk>2013-10-25 20:15:27 +0100
committerPhilip Withnall <philip.withnall@collabora.co.uk>2013-10-29 12:29:53 +0000
commit1af18e6813cf1cb2e6319f03b7f5dd9bf22587bd (patch)
treef0f1c93b5263d70dea4715fd655d3ace9e9fb297 /backends/eds
parent0f43e0dc8220a3e4ce29e8f5663ce5369f39b658 (diff)
build: Fix PKG_CONFIG_PATH for calls to g-ir-scanner
Ensure that g-ir-scanner’s PKG_CONFIG_PATH includes the build directory containing the generated -uninstalled.pc files for folks, so that the backends can link against it properly for being scanned. https://bugzilla.gnome.org/show_bug.cgi?id=708059
Diffstat (limited to 'backends/eds')
-rw-r--r--backends/eds/lib/Makefile.am4
1 files changed, 4 insertions, 0 deletions
diff --git a/backends/eds/lib/Makefile.am b/backends/eds/lib/Makefile.am
index 1dc88e04..91725857 100644
--- a/backends/eds/lib/Makefile.am
+++ b/backends/eds/lib/Makefile.am
@@ -126,6 +126,10 @@ INTROSPECTION_SCANNER_ARGS = \
--warn-all \
$(NULL)
+# Set PKG_CONFIG_PATH so we can find the backend's uninstalled pkg-config file.
+INTROSPECTION_SCANNER_ENV = \
+ PKG_CONFIG_PATH=$(top_builddir)/folks:$${PKG_CONFIG_PATH}
+
INTROSPECTION_COMPILER_ARGS = \
--includedir=$(srcdir) \
--includedir=$(abs_top_builddir)/folks \