aboutsummaryrefslogtreecommitdiff
path: root/ld/testplug3.c
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testplug3.c')
-rw-r--r--ld/testplug3.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ld/testplug3.c b/ld/testplug3.c
index 928f4d6..3b0e9b3 100644
--- a/ld/testplug3.c
+++ b/ld/testplug3.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. */
@@ -627,3 +628,4 @@ oncleanup (void)
fflush (NULL);
return cleanup_ret;
}
+#endif /* BFD_SUPPORTS_PLUGINS */