summaryrefslogtreecommitdiffstats
path: root/tools/objinfo_helper.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/objinfo_helper.c')
-rw-r--r--tools/objinfo_helper.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/objinfo_helper.c b/tools/objinfo_helper.c
index 58dfd2d45..a8c79bd39 100644
--- a/tools/objinfo_helper.c
+++ b/tools/objinfo_helper.c
@@ -17,7 +17,12 @@
#ifdef HAS_LIBBFD
#include <stdlib.h>
#include <string.h>
+
+// PACKAGE: protect against binutils change
+// https://sourceware.org/bugzilla/show_bug.cgi?id=14243
+#define PACKAGE "ocamlobjinfo"
#include <bfd.h>
+#undef PACKAGE
int main(int argc, char ** argv)
{