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

* configure.in (WIN32LIBADD): Include -L../libiberty/pic -liberty
	if shared library is enabled only for Linux hosts.
	* configure: Rebuild.
This commit is contained in:
H.J. Lu 2001-10-22 00:40:48 +00:00
parent 31422c4a33
commit 78be1d6e75
3 changed files with 8 additions and 2 deletions

View file

@ -1,3 +1,9 @@
2001-10-21 H.J. Lu <hjl@gnu.org>
* configure.in (WIN32LIBADD): Include -L../libiberty/pic -liberty
if shared library is enabled only for Linux hosts.
* configure: Rebuild.
2001-10-21 H.J. Lu <hjl@gnu.org>
* configure.in (WIN32LIBADD): Check if PICFLAG is defined in

2
bfd/configure vendored
View file

@ -5819,7 +5819,7 @@ case "${host}" in
WIN32LIBADD="-L`pwd`/../libiberty -liberty -L`pwd`/../intl -lintl -lcygwin -lkernel32"
fi
;;
*)
*-*-linux*)
# We borrow WIN32LIBADD so that the shared libbfd won't depend on
# libiberty.a.
PICFLAG=

View file

@ -410,7 +410,7 @@ case "${host}" in
WIN32LIBADD="-L`pwd`/../libiberty -liberty -L`pwd`/../intl -lintl -lcygwin -lkernel32"
fi
;;
*)
*-*-linux*)
# We borrow WIN32LIBADD so that the shared libbfd won't depend on
# libiberty.a.
PICFLAG=