meson: alternative location for apple

#ApplyIsSpecial
This commit is contained in:
Marcel Hollerbach 2017-10-22 21:08:32 +02:00
parent 39203334d4
commit e311d58a71
1 changed files with 9 additions and 0 deletions

View File

@ -43,6 +43,15 @@ endif
opt_clang_header_dir = get_option('libclang-libdir')
opt_clang_link_dir = get_option('libclang-headerdir')
if build_machine.system() == 'darwin'
if opt_clang_header_dir == ''
opt_clang_header_dir = '/usr/local/opt/llvm/include'
endif
if opt_clang_link_dir == ''
opt_clang_link_dir = '/usr/local/opt/llvm/lib'
endif
endif
if get_option('libclang') == true
#check for the header