aboutsummaryrefslogtreecommitdiff
path: root/opcodes/configure.in
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2008-10-22 14:45:34 +0000
committerNick Clifton <nickc@redhat.com>2008-10-22 14:45:34 +0000
commit4267b19fc71aba8dafa490b9d71b90ef013f5cd9 (patch)
treee19d06802e60f99e890406ca0b091982ccb6ee3b /opcodes/configure.in
parentb8976b05f26681063c4d4a108c8e7e4ae010cee2 (diff)
downloadgdb-4267b19fc71aba8dafa490b9d71b90ef013f5cd9.zip
gdb-4267b19fc71aba8dafa490b9d71b90ef013f5cd9.tar.gz
gdb-4267b19fc71aba8dafa490b9d71b90ef013f5cd9.tar.bz2
PR 6937
* configure.in (SHARED_LIBADD): Revert previous change. Add a comment explaining why. (SHARED_DEPENDENCIES): Revert previous change. * configure: Regenerate.
Diffstat (limited to 'opcodes/configure.in')
-rw-r--r--opcodes/configure.in8
1 files changed, 6 insertions, 2 deletions
diff --git a/opcodes/configure.in b/opcodes/configure.in
index 061bb71..1efeb3f 100644
--- a/opcodes/configure.in
+++ b/opcodes/configure.in
@@ -118,10 +118,14 @@ if test "$enable_shared" = "yes"; then
SHARED_LIBADD="-Wl,`pwd`/../bfd/.libs/libbfd.sl"
;;
*)
- SHARED_LIBADD="-Wl,`pwd`/../bfd/.libs/libbfd.so -Wl,`pwd`/../libiberty/libiberty.a"
+ # 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
- SHARED_DEPENDENCIES="../bfd/libbfd.la ../libiberty/libiberty.a"
+ SHARED_DEPENDENCIES="../bfd/libbfd.la"
;;
esac
fi