[wasm] Infra for iwasm llvm build
This commit is contained in:
parent
65f7bac73c
commit
f95c2cc6d5
|
@ -115,6 +115,8 @@ gobject_dep = dependency('gobject-2.0', required: get_option('gobject'))
|
||||||
graphite2_dep = dependency('graphite2', required: get_option('graphite2'))
|
graphite2_dep = dependency('graphite2', required: get_option('graphite2'))
|
||||||
graphite_dep = dependency('graphite2', required: get_option('graphite'))
|
graphite_dep = dependency('graphite2', required: get_option('graphite'))
|
||||||
wasm_dep = cpp.find_library('iwasm', required: get_option('wasm'))
|
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')
|
if meson.version().version_compare('>=0.60.0')
|
||||||
# pkg-config: icu-uc, cmake: ICU but with components
|
# pkg-config: icu-uc, cmake: ICU but with components
|
||||||
|
|
|
@ -476,6 +476,7 @@ if conf.get('HAVE_WASM', 0) == 1
|
||||||
hb_sources += hb_wasm_sources
|
hb_sources += hb_wasm_sources
|
||||||
hb_headers += hb_wasm_headers
|
hb_headers += hb_wasm_headers
|
||||||
harfbuzz_deps += wasm_dep
|
harfbuzz_deps += wasm_dep
|
||||||
|
#harfbuzz_deps += llvm_dep
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if conf.get('HAVE_UNISCRIBE', 0) == 1
|
if conf.get('HAVE_UNISCRIBE', 0) == 1
|
||||||
|
|
Loading…
Reference in New Issue