ajwillia-ms pushed a commit to branch master.

http://git.enlightenment.org/tools/edi.git/commit/?id=bf182698be2708d18035404cacf69f8770aae7b3

commit bf182698be2708d18035404cacf69f8770aae7b3
Author: Andy Williams <[email protected]>
Date:   Tue Oct 10 15:55:31 2017 +0100

    Fix meson build for non-dev libclang
---
 meson.build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meson.build b/meson.build
index e511f18..dc4350e 100644
--- a/meson.build
+++ b/meson.build
@@ -39,7 +39,7 @@ else
   config_h.set_quoted('BEAR_COMMAND', '')
 endif
 
-if get_option('libclang') == true
+if get_option('libclang') == true and cc.has_header('clang-c/Index.h')
   clang = cc.find_library('clang', dirs : ['/usr/local/opt/llvm/lib'])
 
   clang_include_dir_command = 
run_command(find_program('scripts/clang_include_dir.sh'))

-- 


Reply via email to