diff options
author | Ludovic Courtès <ludo@gnu.org> | 2012-07-07 18:40:39 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2012-07-07 18:40:39 +0200 |
commit | c51e6ea2d88b083968da33bf6c14759e9f4c9bd7 (patch) | |
tree | 759de57365a4a974db22854620c8caee6b8f0b46 /guix | |
parent | d7978f46c5beb6261822d13b6f6154e34658a02d (diff) |
build-system/gnu: Set $PKG_CONFIG_PATH.
* guix/build/gnu-build-system.scm (set-paths): Add `PKG_CONFIG_PATH'.
Diffstat (limited to 'guix')
-rw-r--r-- | guix/build/gnu-build-system.scm | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/guix/build/gnu-build-system.scm b/guix/build/gnu-build-system.scm index d59b9408a8..0790c39256 100644 --- a/guix/build/gnu-build-system.scm +++ b/guix/build/gnu-build-system.scm @@ -52,6 +52,12 @@ (set-path-environment-variable "CPATH" '("include") inputs) (set-path-environment-variable "LIBRARY_PATH" '("lib" "lib64") inputs) + ;; 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") + inputs) + ;; Dump the environment variables as a shell script, for handy debugging. (system "export > environment-variables"))) |