Skip to content

Commit 977bf6f

Browse files
Merge pull request #72723 from kateinoigakukun/yt/remove-ranlib-workaround
2 parents c2681d5 + 6ddf683 commit 977bf6f

File tree

1 file changed

+1
-2
lines changed
  • utils/swift_build_support/swift_build_support/products

1 file changed

+1
-2
lines changed

utils/swift_build_support/swift_build_support/products/wasmstdlib.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,8 @@ def build(self, host_target):
5050
# object files.
5151
self.cmake_options.define('CMAKE_AR:STRING', os.path.join(
5252
toolchain_path, 'bin', 'llvm-ar'))
53-
# llvm-ranlib is not installed in the final toolchain, so use one in build dir
5453
self.cmake_options.define('CMAKE_RANLIB:STRING', os.path.join(
55-
self._host_swift_build_dir(host_target), 'bin', 'llvm-ranlib'))
54+
toolchain_path, 'bin', 'llvm-ranlib'))
5655
self.cmake_options.define(
5756
'SWIFT_NATIVE_CLANG_TOOLS_PATH:STRING', os.path.join(toolchain_path, 'bin'))
5857
self.cmake_options.define(

0 commit comments

Comments
 (0)