1
0
mirror of https://github.com/termux/termux-packages synced 2024-06-12 16:16:43 +00:00
termux-packages/packages/libelf/system.h.patch
2022-11-05 17:04:34 +00:00

13 lines
360 B
Diff

--- elfutils-0.185/lib/system.h 2021-05-22 23:55:24.000000000 +0530
+++ elfutils-0.185-patch/lib/system.h 2021-08-29 15:35:57.670999911 +0530
@@ -64,6 +64,9 @@
exit (EXIT_FAILURE); \
} while (0)
+extern char* __progname;
+#define program_invocation_short_name __progname
+
#if BYTE_ORDER == LITTLE_ENDIAN
# define LE32(n) (n)
# define LE64(n) (n)