aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2001-10-22 00:40:48 +0000
committerH.J. Lu <hjl.tools@gmail.com>2001-10-22 00:40:48 +0000
commit78be1d6e75a8aba8565e919acbdf292ea3341335 (patch)
tree53bbce7e06f68226d935e07a62dee90d26a7660d
parent31422c4a33371b7fb188f1cd88935f7dc3c27cee (diff)
downloadgdb-78be1d6e75a8aba8565e919acbdf292ea3341335.zip
gdb-78be1d6e75a8aba8565e919acbdf292ea3341335.tar.gz
gdb-78be1d6e75a8aba8565e919acbdf292ea3341335.tar.bz2
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.
-rw-r--r--bfd/ChangeLog6
-rwxr-xr-xbfd/configure2
-rw-r--r--bfd/configure.in2
3 files changed, 8 insertions, 2 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 3ed8fd2..7dbc46a 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -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.
diff --git a/bfd/configure b/bfd/configure
index 24e3c69..22c0575 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 728811c..042cf18 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=