2001-10-20 H.J. Lu <hjl@gnu.org>

* configure.in (WIN32LIBADD): Include -L../libiberty/pic -liberty
	if shared library is enabled.
	* configure: Rebuild.
This commit is contained in:
H.J. Lu 2001-10-21 06:51:03 +00:00
parent 7903fbf849
commit 3969176296
3 changed files with 285 additions and 276 deletions

View file

@ -1,3 +1,9 @@
2001-10-20 H.J. Lu <hjl@gnu.org>
* configure.in (WIN32LIBADD): Include -L../libiberty/pic -liberty
if shared library is enabled.
* configure: Rebuild.
2001-10-20 H.J. Lu <hjl@gnu.org>
* elf32-cris.c (cris_reloc_type_lookup): Allow index 0.

548
bfd/configure vendored

File diff suppressed because it is too large Load diff

View file

@ -410,6 +410,13 @@ case "${host}" in
WIN32LIBADD="-L`pwd`/../libiberty -liberty -L`pwd`/../intl -lintl -lcygwin -lkernel32"
fi
;;
*)
# We borrow WIN32LIBADD so that the shared libbfd won't depend on
# libiberty.a.
if test "$enable_shared" = "yes"; then
WIN32LIBADD="-L../libiberty/pic -liberty"
fi
;;
esac
AC_SUBST(WIN32LDFLAGS)
AC_SUBST(WIN32LIBADD)