Skip to content
Commit 4319ce51 authored by Ting-Wei Lan's avatar Ting-Wei Lan Committed by Christian Hergert
Browse files

meson-build: fix the libclang check

Use args argument in cc.has_header because it doesn't support prefix.

Add dirs argument to cc.find_library because we have to add extra
search paths to find libclang on systems not installing it in the
default search path. Replace 'llvm-config --ldflags' with
'llvm-config --libdir' because cc.find_library uses dirs argument
instead of args.

Remove link_args from clang_dep because using cc.find_library makes
meson use the full path to the library. -L flags are not needed here.

https://bugzilla.gnome.org/show_bug.cgi?id=782296
parent 903498bd
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment