termux-packages/packages/libelf/system.h.patch

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)