[wasm] Infra for iwasm llvm build

This commit is contained in:
Behdad Esfahbod 2023-02-25 11:10:28 -07:00
parent 65f7bac73c
commit f95c2cc6d5
2 changed files with 3 additions and 0 deletions

View File

@ -115,6 +115,8 @@ gobject_dep = dependency('gobject-2.0', required: get_option('gobject'))
graphite2_dep = dependency('graphite2', required: get_option('graphite2'))
graphite_dep = dependency('graphite2', required: get_option('graphite'))
wasm_dep = cpp.find_library('iwasm', required: get_option('wasm'))
# How to check whether iwasm was built, and hence requires, LLVM?
#llvm_dep = cpp.find_library('LLVM-15', required: get_option('wasm'))
if meson.version().version_compare('>=0.60.0')
# pkg-config: icu-uc, cmake: ICU but with components

View File

@ -476,6 +476,7 @@ if conf.get('HAVE_WASM', 0) == 1
hb_sources += hb_wasm_sources
hb_headers += hb_wasm_headers
harfbuzz_deps += wasm_dep
#harfbuzz_deps += llvm_dep
endif
if conf.get('HAVE_UNISCRIBE', 0) == 1