2001-10-21 H.J. Lu <hjl@gnu.org>
authorH.J. Lu <hjl.tools@gmail.com>
Mon, 22 Oct 2001 00:40:48 +0000 (00:40 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Mon, 22 Oct 2001 00:40:48 +0000 (00:40 +0000)
* configure.in (WIN32LIBADD): Include -L../libiberty/pic -liberty
if shared library is enabled only for Linux hosts.
* configure: Rebuild.

bfd/ChangeLog
bfd/configure
bfd/configure.in

index 3ed8fd2..7dbc46a 100644 (file)
@@ -1,5 +1,11 @@
 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
        ../libiberty/Makefile instead of $enable_shared.
        * configure: Rebuild.
index 24e3c69..22c0575 100755 (executable)
@@ -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=
index 728811c..042cf18 100644 (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=