[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/04: search-paths: Swap $C_INCLUDE_PATH and $CPLUS_INCLUDE_PATH.
From: |
guix-commits |
Subject: |
01/04: search-paths: Swap $C_INCLUDE_PATH and $CPLUS_INCLUDE_PATH. |
Date: |
Sat, 6 Jan 2024 10:34:48 -0500 (EST) |
civodul pushed a commit to branch core-updates
in repository guix.
commit 32b31f48b6a9875f538cc3445baab98b3aa06fc7
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Mon Dec 18 22:05:50 2023 +0100
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
---
guix/search-paths.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/guix/search-paths.scm b/guix/search-paths.scm
index b2a0b838c0..27fcb78054 100644
--- a/guix/search-paths.scm
+++ b/guix/search-paths.scm
@@ -80,14 +80,14 @@
(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"))))