mirror of
https://github.com/kiwix/kiwix-build.git
synced 2025-06-26 10:11:27 +00:00
On recent version of the NDK (r13b), `exec_elf.h` has been removed for API level >= 20. On 64 bits, we need the API level 21, and then, a defined (ELF64_ST_INFO) is missing. We readd it where (and if) we need it.
14 lines
504 B
Diff
14 lines
504 B
Diff
diff -ur icu4c-58_2/source/tools/toolutil/pkg_genc.c icu4c-58_2.patched/source/tools/toolutil/pkg_genc.c
|
|
--- icu4c-58_2/source/tools/toolutil/pkg_genc.c 2016-06-15 20:58:17.000000000 +0200
|
|
+++ icu4c-58_2.patched/source/tools/toolutil/pkg_genc.c 2017-02-27 10:23:39.985471339 +0100
|
|
@@ -35,6 +35,9 @@
|
|
# define EM_X86_64 62
|
|
# endif
|
|
# define ICU_ENTRY_OFFSET 0
|
|
+# ifndef ELF64_ST_INFO
|
|
+# define ELF64_ST_INFO(b,t) (((b) << 4) + ((t) & 0xf))
|
|
+# endif
|
|
#endif
|
|
|
|
#include <stdio.h>
|