guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

07/08: gnu: clang: Add OBJC_INCLUDE_PATH to native-search-paths.


From: guix-commits
Subject: 07/08: gnu: clang: Add OBJC_INCLUDE_PATH to native-search-paths.
Date: Fri, 20 May 2022 14:28:12 -0400 (EDT)

civodul pushed a commit to branch master
in repository guix.

commit fd94ccf8f185f6439905f23bbb46e5f85d87fd3a
Author: Zhu Zihao <all_but_last@163.com>
AuthorDate: Tue May 10 19:27:25 2022 +0800

    gnu: clang: Add OBJC_INCLUDE_PATH to native-search-paths.
    
    Clang is also a compiler for Objective-C.
    
    * gnu/packages/llvm.scm (clang-for-llvm): Add OBJC_INCLUDE_PATH to 
native-search-paths.
    
    Signed-off-by: Ludovic Courtès <ludo@gnu.org>
---
 gnu/packages/llvm.scm | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/gnu/packages/llvm.scm b/gnu/packages/llvm.scm
index b84d987dbb..4d5a948236 100644
--- a/gnu/packages/llvm.scm
+++ b/gnu/packages/llvm.scm
@@ -388,6 +388,9 @@ given PATCHES.  When TOOLS-EXTRA is given, it must point to 
the
            (search-path-specification
             (variable "CPLUS_INCLUDE_PATH")
             (files '("include/c++" "include")))
+           (search-path-specification
+            (variable "OBJC_INCLUDE_PATH")
+            (files '("include")))
            (search-path-specification
             (variable "LIBRARY_PATH")
             (files '("lib" "lib64")))))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]