diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2023-12-11 10:58:52 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2024-08-31 10:42:48 +0200 |
commit | 09d62629a91b7623ed9c86f4d52db32682ec88a0 (patch) | |
tree | 752c269c58c0bf253a524448b308dbb25bf4ff12 | |
parent | a9136076eb639731581cb50e996f63e431eaff72 (diff) | |
download | guix-09d62629a91b7623ed9c86f4d52db32682ec88a0.tar.gz guix-09d62629a91b7623ed9c86f4d52db32682ec88a0.zip |
guix: search-paths: Fix obj-c++ search paths.
* guix/search-paths.scm ($OBJCPLUS_INCLUDE_PATH): Also search
'include/c++'.
Change-Id: I403674038c1c3bf1251c710031496363c924f19a
-rw-r--r-- | guix/search-paths.scm | 4 |
1 files changed, 3 insertions, 1 deletions
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 |