Files
termux-packages/packages/emscripten/fix-rpath.py
termux-pacman-bot a0e66b3c2d fix(main/emscripten): various fixes
* fix DT_RUNPATH using ld.lld.sh wrapper (incomplete)
* disable unused build options
* update files removal list
* strip binaries
* move test info into tests.sh
2023-06-14 05:01:20 +00:00

12 lines
194 B
Python

#!/usr/bin/python3
import sys
rpath = sys.argv[1]
ld_lld_argv = sys.argv[2:]
if rpath in ld_lld_argv:
ld_lld_argv.remove(rpath)
ld_lld_argv.append(rpath)
print(" ".join(ld_lld_argv))