* configure.in (SHARED_LIBADD): Revert previous change.
        Add a comment explaining why.
        (SHARED_DEPENDENCIES): Revert previous change.
        * configure: Regenerate.
This commit is contained in:
Nick Clifton 2008-10-22 14:45:34 +00:00
parent b8976b05f2
commit 4267b19fc7
3 changed files with 20 additions and 4 deletions

View file

@ -1,3 +1,11 @@
2008-10-22 Nick Clifton <nickc@redhat.com>
PR 6937
* configure.in (SHARED_LIBADD): Revert previous change.
Add a comment explaining why.
(SHARED_DEPENDENCIES): Revert previous change.
* configure: Regenerate.
2008-10-10 Nick Clifton <nickc@redhat.com>
PR 6937

8
opcodes/configure vendored
View file

@ -12436,10 +12436,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

View file

@ -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