mirror of
https://github.com/termux/termux-packages
synced 2024-06-19 00:07:06 +00:00
So that users do not have to specify --api-level 24 or similar when using the tool on-device. Reported in termux/termux-packages#11612.
12 lines
364 B
Diff
12 lines
364 B
Diff
--- ./elf-cleaner.cpp~ 2022-07-30 16:02:31.000000000 +0200
|
|
+++ ./elf-cleaner.cpp 2022-08-29 11:14:38.502827607 +0200
|
|
@@ -50,7 +50,7 @@
|
|
|
|
/* Default to api level 21 unless arg --api-level given */
|
|
uint8_t supported_dt_flags_1 = (DF_1_NOW | DF_1_GLOBAL);
|
|
-int api_level = 21;
|
|
+int api_level = @TERMUX_PKG_API_LEVEL@;
|
|
|
|
bool dry_run = false;
|
|
bool quiet = false;
|