mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 21:38:07 -05:00
search-paths: Swap $C_INCLUDE_PATH and $CPLUS_INCLUDE_PATH.
The variable name didn’t match the ‘variable’ value. * guix/search-paths.scm ($CPLUS_INCLUDE_PATH, $C_INCLUDE_PATH): Swap. Change-Id: I181cd259dc8778ed51ea891bf7a345df89e5b6d8
This commit is contained in:
parent
42aad100af
commit
453b802d1d
1 changed files with 2 additions and 2 deletions
|
@ -80,14 +80,14 @@ (define-record-type* <search-path-specification>
|
|||
(file-pattern search-path-specification-file-pattern ;#f | string
|
||||
(default #f)))
|
||||
|
||||
(define $C_INCLUDE_PATH
|
||||
(define $CPLUS_INCLUDE_PATH
|
||||
(search-path-specification
|
||||
(variable "CPLUS_INCLUDE_PATH")
|
||||
;; Add 'include/c++' here so that <cstdlib>'s "#include_next
|
||||
;; <stdlib.h>" finds GCC's <stdlib.h>, not libc's.
|
||||
(files '("include/c++" "include"))))
|
||||
|
||||
(define $CPLUS_INCLUDE_PATH
|
||||
(define $C_INCLUDE_PATH
|
||||
(search-path-specification
|
||||
(variable "C_INCLUDE_PATH")
|
||||
(files '("include"))))
|
||||
|
|
Loading…
Reference in a new issue