aboutsummaryrefslogtreecommitdiff
path: root/ld/testplug4.c
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testplug4.c')
-rw-r--r--ld/testplug4.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ld/testplug4.c b/ld/testplug4.c
index ca899b1..6e41f81 100644
--- a/ld/testplug4.c
+++ b/ld/testplug4.c
@@ -21,6 +21,7 @@
#include "sysdep.h"
#include "bfd.h"
+#if BFD_SUPPORTS_PLUGINS
#include "plugin-api.h"
#include "filenames.h"
/* For ARRAY_SIZE macro only - we don't link the library itself. */
@@ -675,3 +676,4 @@ oncleanup (void)
fflush (NULL);
return cleanup_ret;
}
+#endif /* BFD_SUPPORTS_PLUGINS */