diff --git a/es2panda/test/BUILD.gn b/es2panda/test/BUILD.gn index c5c0359623fcb9946074088c66713608b76d4158..dcd5afa0e2fb4ee0912207617e226c26458fca3e 100644 --- a/es2panda/test/BUILD.gn +++ b/es2panda/test/BUILD.gn @@ -65,7 +65,10 @@ action("es2abc_compiler_tests") { llvm_lib_dir = rebase_path("//prebuilts/clang/ohos/linux-x86_64/llvm/lib/") - ld_library_path = "${ark_js_runtime_dir}:${icu_dir}:${llvm_lib_dir}" + zlib_dir = rebase_path("${root_out_dir}/thirdparty/zlib") + + ld_library_path = + "${ark_js_runtime_dir}:${icu_dir}:${llvm_lib_dir}:${zlib_dir}" args = [ "--no-progress",