3
5
Fork 0
mirror of git://git.savannah.gnu.org/guix.git synced 2023-12-14 03:33:07 +01:00

gnu: rust: Switch to 'C_INCLUDE_PATH'.

* gnu/packages/rust.scm (rust-1.19)[native-search-paths]: Remove "CPATH"
and add "C_INCLUDE_PATH" and "CPLUS_INCLUDE_PATH" instead.
This commit is contained in:
Ludovic Courtès 2020-02-07 23:26:38 +01:00
parent f30d84d32d
commit fd1fde6041
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -413,8 +413,11 @@ test = { path = \"../libtest\" }
;; modules (see <https://bugs.gnu.org/31392>).
(native-search-paths
(list (search-path-specification
(variable "CPATH")
(variable "C_INCLUDE_PATH")
(files '("include")))
(search-path-specification
(variable "CPLUS_INCLUDE_PATH")
(files '("include/c++" "include")))
(search-path-specification
(variable "LIBRARY_PATH")
(files '("lib" "lib64")))))