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>
This commit is contained in:
Zhu Zihao 2022-05-10 19:27:25 +08:00 committed by Ludovic Courtès
parent be21ae6861
commit fd94ccf8f1
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -388,6 +388,9 @@ (define* (clang-from-llvm llvm clang-runtime
(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")))))