summaryrefslogtreecommitdiff
path: root/opcodes/configure.in
diff options
context:
space:
mode:
Diffstat (limited to 'opcodes/configure.in')
-rw-r--r--opcodes/configure.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/opcodes/configure.in b/opcodes/configure.in
index 2800eed7503..1efeb3f95e8 100644
--- a/opcodes/configure.in
+++ b/opcodes/configure.in
@@ -118,6 +118,10 @@ if test "$enable_shared" = "yes"; then
SHARED_LIBADD="-Wl,`pwd`/../bfd/.libs/libbfd.sl"
;;
*)
+ # It is tempting to include libiberty here as well, but
+ # that library is only built as a static version.
+ # Including it here would insert text relocations into
+ # the opcodes library, which is undesirable.
SHARED_LIBADD="-Wl,`pwd`/../bfd/.libs/libbfd.so"
;;
esac