summary refs log tree commit diff
diff options
context:
space:
mode:
authorAndreas Enge <andreas@enge.fr>2013-03-04 10:14:34 +0100
committerAndreas Enge <andreas@enge.fr>2013-03-04 10:14:34 +0100
commit8689a1908a8353b80ed1fcbb81feddc5eb799f24 (patch)
tree8f6ceb3a65d6afc1f319c25985924626d906c2de
parent827d28914a16ef2d10ebdad4695efdb02ace07fb (diff)
downloadguix-8689a1908a8353b80ed1fcbb81feddc5eb799f24.tar.gz
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.
-rw-r--r--guix/build/gnu-build-system.scm3
1 files changed, 2 insertions, 1 deletions
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 @@
   ;; 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.