aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2002-12-18 16:56:19 +0000
committerNick Clifton <nickc@redhat.com>2002-12-18 16:56:19 +0000
commit0bc4911d08debd15b1a0fda7dd4cdf89ce6e0b2a (patch)
tree999f99873ee535d0eb9db082d7ddb5afd36f93c7 /ld
parent2ca22b0314bedf61207b9ed3cd68536a88c640bf (diff)
downloadfsf-binutils-gdb-0bc4911d08debd15b1a0fda7dd4cdf89ce6e0b2a.zip
fsf-binutils-gdb-0bc4911d08debd15b1a0fda7dd4cdf89ce6e0b2a.tar.gz
fsf-binutils-gdb-0bc4911d08debd15b1a0fda7dd4cdf89ce6e0b2a.tar.bz2
Add win32 library search path.
Diffstat (limited to 'ld')
-rw-r--r--ld/ChangeLog2
-rw-r--r--ld/configure.host2
2 files changed, 3 insertions, 1 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index d88bc88..d2a7ce9 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -3,6 +3,8 @@
* ld.texinfo: Add win32 machine depending section.
* gen-doc.texi: Enable win32 machine depending section.
+ * configure.host: Add win32 library search path.
+
2002-12-17 Ralf Habacker <ralf.habacker@freenet.de>
* ld/emultempl/pe.em (pe_find_data_imports): Don't search for data
diff --git a/ld/configure.host b/ld/configure.host
index 4c93c10..e4c298a 100644
--- a/ld/configure.host
+++ b/ld/configure.host
@@ -124,7 +124,7 @@ i[3456]86-pc-interix*)
;;
i[3456]86-*-cygwin*)
- HOSTING_LIBS="$HOSTING_LIBS"' -lcygwin -luser32 -lkernel32 -ladvapi32 -lshell32 `if [ -f ../gcc/libgcc.a ] ; then echo ../gcc/libgcc.a ; else ${CC} -print-libgcc-file-name; fi`'
+ HOSTING_LIBS="$HOSTING_LIBS"' -lcygwin -L/usr/lib/w32api -luser32 -lkernel32 -ladvapi32 -lshell32 `if [ -f ../gcc/libgcc.a ] ; then echo ../gcc/libgcc.a ; else ${CC} -print-libgcc-file-name; fi`'
;;
ia64-*-linux-gnu*)