summaryrefslogtreecommitdiff
path: root/tool/m4/ruby_wasm_tools.m4
diff options
context:
space:
mode:
Diffstat (limited to 'tool/m4/ruby_wasm_tools.m4')
-rw-r--r--tool/m4/ruby_wasm_tools.m43
1 files changed, 2 insertions, 1 deletions
diff --git a/tool/m4/ruby_wasm_tools.m4 b/tool/m4/ruby_wasm_tools.m4
index a6d8c34ebc..efc017e771 100644
--- a/tool/m4/ruby_wasm_tools.m4
+++ b/tool/m4/ruby_wasm_tools.m4
@@ -9,7 +9,7 @@ AC_DEFUN([RUBY_WASM_TOOLS],
AC_SUBST(wasmoptflags)
: ${wasmoptflags=-O3}
- AC_MSG_CHECKING([wheather \$WASI_SDK_PATH is set])
+ AC_MSG_CHECKING([whether \$WASI_SDK_PATH is set])
AS_IF([test x"${WASI_SDK_PATH}" = x], [
AC_MSG_RESULT([no])
AC_MSG_ERROR([WASI_SDK_PATH environment variable is required])
@@ -19,6 +19,7 @@ AC_DEFUN([RUBY_WASM_TOOLS],
LD="${LD:-${WASI_SDK_PATH}/bin/clang}"
AR="${AR:-${WASI_SDK_PATH}/bin/llvm-ar}"
RANLIB="${RANLIB:-${WASI_SDK_PATH}/bin/llvm-ranlib}"
+ OBJCOPY="${OBJCOPY:-${WASI_SDK_PATH}/bin/llvm-objcopy}"
])
])
])dnl