0
0
mirror of https://github.com/termux/termux-packages.git synced 2025-09-27 05:04:55 +00:00
Files
termux-packages/root-packages/frida/skip-elf-cleaner.patch
Henrik Grimler 9cefd364da updpkg(root/frida): 17.2.11
frida version 17 has moved over from plain Makefiles to meson, and we
more or less needed to port the package again from scratch.
2025-07-14 11:56:41 +02:00

14 lines
846 B
Diff

--- ../frida.orig/subprojects/frida-core/tools/post-process.py 2025-07-12 10:41:48.563319104 +0000
+++ ./subprojects/frida-core/tools/post-process.py 2025-07-12 14:29:44.126383168 +0000
@@ -63,10 +63,6 @@
codesign_args += ["--entitlements", input_entitlements_path]
subprocess.run(codesign + codesign_args + [intermediate_path], **run_kwargs)
- if host_os == "android" and "elf-cleaner:off" not in flags:
- api_level = 19 if host_abi in {"x86", "arm"} else 21
- subprocess.run(termux_elf_cleaner + ["--api-level", str(api_level), "--quiet", intermediate_path],
- **run_kwargs)
except subprocess.CalledProcessError as e:
print(e, file=sys.stderr)
print("Output:\n\t| " + "\n\t| ".join(e.output.strip().split("\n")), file=sys.stderr)