From 78be1d6e75a8aba8565e919acbdf292ea3341335 Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Mon, 22 Oct 2001 00:40:48 +0000 Subject: [PATCH] 2001-10-21 H.J. Lu * configure.in (WIN32LIBADD): Include -L../libiberty/pic -liberty if shared library is enabled only for Linux hosts. * configure: Rebuild. --- bfd/ChangeLog | 6 ++++++ bfd/configure | 2 +- bfd/configure.in | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 3ed8fd2e878..7dbc46aaef6 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,9 @@ +2001-10-21 H.J. Lu + + * 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 * configure.in (WIN32LIBADD): Check if PICFLAG is defined in diff --git a/bfd/configure b/bfd/configure index 24e3c69d7c1..22c0575d0af 100755 --- a/bfd/configure +++ b/bfd/configure @@ -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= diff --git a/bfd/configure.in b/bfd/configure.in index 728811c2c7d..042cf18fb4a 100644 --- a/bfd/configure.in +++ b/bfd/configure.in @@ -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= -- 2.30.2