diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2023-01-22 11:58:36 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2023-01-23 19:02:36 +0900 |
commit | 1e2523fad7c03dc4f3b298d224548abd07374761 (patch) | |
tree | 931ba37a66200e0d053e5b524cf1b92f98fb0bcf /configure.ac | |
parent | a22ed3e99dbb74003f20e175cd1956062e97f230 (diff) | |
download | ruby-1e2523fad7c03dc4f3b298d224548abd07374761.tar.gz |
Silence dozens of useless warnings from `ranlib` on macOS [ci skip]
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index a2a0c1e387..56c335a37a 100644 --- a/configure.ac +++ b/configure.ac @@ -433,6 +433,12 @@ AS_CASE(["$build_os"], ]) rm -fr conftest* ]) +AS_CASE(["$build_os"], + [darwin*], [ + AC_SUBST(X_WRAPPER_AR, "`cd -P "${tooldir}" && pwd`/darwin-ar $AR") + ], [ + AC_SUBST(X_WRAPPER_AR, "$AR") + ]) AS_CASE(["$target_os"], [wasi*], [ # Clang linker automatically uses wasm-opt with -O if it found. |