0
0
mirror of https://github.com/termux/termux-packages.git synced 2025-01-31 21:22:27 +00:00
Jia Yuan Lo 78edcc8055 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 12:34:30 +08: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))