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
1 changed files with 4 additions and 1 deletions

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")))))