mirror of
https://github.com/termux/termux-packages.git
synced 2025-01-31 21:22:27 +00:00
78edcc8055
* 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
12 lines
194 B
Python
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))
|