diff options
Diffstat (limited to 'ld/ldmain.c')
-rw-r--r-- | ld/ldmain.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ld/ldmain.c b/ld/ldmain.c index 7e8bd92..047cc6b 100644 --- a/ld/ldmain.c +++ b/ld/ldmain.c @@ -345,8 +345,8 @@ main (int argc, char **argv) einfo (_("%P%F: -r and -shared may not be used together\n")); } - if (!config.dynamic_link && link_info.shared) - einfo (_("%P%F: -static and -shared may not be used together\n")); + if (!config.dynamic_link && link_info.shared) + einfo (_("%P%F: -static and -shared may not be used together\n")); if (! link_info.shared) { |