diff options
Diffstat (limited to 'ld/testplug2.c')
-rw-r--r-- | ld/testplug2.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ld/testplug2.c b/ld/testplug2.c index 27553d0..5b69d0e 100644 --- a/ld/testplug2.c +++ b/ld/testplug2.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. */ @@ -669,3 +670,4 @@ oncleanup (void) fflush (NULL); return cleanup_ret; } +#endif /* BFD_SUPPORTS_PLUGINS */ |