[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch core-updates updated: guix: search-paths: Fix obj-c++ search path
From: |
guix-commits |
Subject: |
branch core-updates updated: guix: search-paths: Fix obj-c++ search paths. |
Date: |
Mon, 11 Dec 2023 04:10:12 -0500 |
This is an automated email from the git hooks/post-receive script.
efraim pushed a commit to branch core-updates
in repository guix.
The following commit(s) were added to refs/heads/core-updates by this push:
new 55dedd4d69 guix: search-paths: Fix obj-c++ search paths.
55dedd4d69 is described below
commit 55dedd4d69d6abc6cb3d8dabf3a0e6357d67944b
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Mon Dec 11 10:58:52 2023 +0200
guix: search-paths: Fix obj-c++ search paths.
* guix/search-paths.scm ($OBJCPLUS_INCLUDE_PATH): Also search
'include/c++'.
Change-Id: I403674038c1c3bf1251c710031496363c924f19a
---
guix/search-paths.scm | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/guix/search-paths.scm b/guix/search-paths.scm
index edd416ccdc..b2a0b838c0 100644
--- a/guix/search-paths.scm
+++ b/guix/search-paths.scm
@@ -100,7 +100,9 @@
(define $OBJCPLUS_INCLUDE_PATH
(search-path-specification
(variable "OBJCPLUS_INCLUDE_PATH")
- (files '("include"))))
+ ;; 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 $LIBRARY_PATH
(search-path-specification
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch core-updates updated: guix: search-paths: Fix obj-c++ search paths.,
guix-commits <=