From fd94ccf8f185f6439905f23bbb46e5f85d87fd3a Mon Sep 17 00:00:00 2001 From: Zhu Zihao Date: Tue, 10 May 2022 19:27:25 +0800 Subject: [PATCH] gnu: clang: Add OBJC_INCLUDE_PATH to native-search-paths. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- 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 @@ (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")))))