blob: 478d578e58b6380433582b9f4ca9cc9b93d402de [file] [edit]
#!/usr/bin/env python3
# Copyright 2019 The Emscripten Authors. All rights reserved.
# Emscripten is available under two separate licenses, the MIT license and the
# University of Illinois/NCSA Open Source License. Both these licenses can be
# found in the LICENSE file.
"""emranlib - ranlib helper script.
This script acts as a frontend replacement for ranlib, and simply invokes
llvm-ranlib internally.
"""
import sys
from tools import shared
LLVM_RANLIB = shared.llvm_tool_path('llvm-ranlib')
shared.exec_process([LLVM_RANLIB, *sys.argv[1:]])