From 8689a1908a8353b80ed1fcbb81feddc5eb799f24 Mon Sep 17 00:00:00 2001 From: Andreas Enge Date: Mon, 4 Mar 2013 10:14:34 +0100 Subject: [PATCH] guix: build: Add "share/pkgconfig" to PKG_CONFIG_PATH, as used by xorg. * guix/build/gnu-build-system.scm (set-paths): Add "share/pkgconfig" to PKG_CONFIG_PATH. --- guix/build/gnu-build-system.scm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/guix/build/gnu-build-system.scm b/guix/build/gnu-build-system.scm index b7b9fdac95..8fc6f86507 100644 --- a/guix/build/gnu-build-system.scm +++ b/guix/build/gnu-build-system.scm @@ -73,7 +73,8 @@ (define (relevant-input-directories env-var) ;; FIXME: Eventually move this to the `search-paths' field of the ;; `pkg-config' package. (set-path-environment-variable "PKG_CONFIG_PATH" - '("lib/pkgconfig" "lib64/pkgconfig") + '("lib/pkgconfig" "lib64/pkgconfig" + "share/pkgconfig") (relevant-input-directories "PKG_CONFIG_PATH")) ;; Dump the environment variables as a shell script, for handy debugging.