Skip to content
Snippets Groups Projects
Commit c51e6ea2 authored by Ludovic Courtès's avatar Ludovic Courtès
Browse files

build-system/gnu: Set $PKG_CONFIG_PATH.

* guix/build/gnu-build-system.scm (set-paths): Add `PKG_CONFIG_PATH'.
parent d7978f46
No related branches found
No related tags found
No related merge requests found
......@@ -52,6 +52,12 @@ (define* (set-paths #:key inputs #:allow-other-keys)
(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")))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment