aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorChristopher Faylor <me+cygwin@cgf.cx>2002-11-12 03:48:43 +0000
committerChristopher Faylor <me+cygwin@cgf.cx>2002-11-12 03:48:43 +0000
commitf8b0dbb8175f283a9e2a255d981634cfaaaf211a (patch)
treeddcf7544a3de5413954813c9953a2d699ee8bed2 /ld
parent3f47be5ca18951cf0633ef852a8223eb75536000 (diff)
downloadgdb-f8b0dbb8175f283a9e2a255d981634cfaaaf211a.zip
gdb-f8b0dbb8175f283a9e2a255d981634cfaaaf211a.tar.gz
gdb-f8b0dbb8175f283a9e2a255d981634cfaaaf211a.tar.bz2
* configure.tgt (LIB_PATH): Default to searching w32api directory under cygwin.
Diffstat (limited to 'ld')
-rw-r--r--ld/ChangeLog5
-rw-r--r--ld/configure.tgt3
2 files changed, 7 insertions, 1 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index 20ba2c8..061266d 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,8 @@
+2002-11-11 Christopher Faylor <cgf@redhat.com>
+
+ * configure.tgt (LIB_PATH): Default to searching w32api directory under
+ cygwin.
+
2002-11-11 Charles Wilson <cwilson@ece.gatech.edu>
* pe-dll.c (autofilter_liblist): add libmingwex and libgcj to the list
diff --git a/ld/configure.tgt b/ld/configure.tgt
index 0aca3d0..6860268 100644
--- a/ld/configure.tgt
+++ b/ld/configure.tgt
@@ -206,7 +206,8 @@ i[3456]86-*-winnt*) targ_emul=i386pe ;
i[3456]86-*-pe) targ_emul=i386pe ;
targ_extra_ofiles="deffilep.o pe-dll.o" ;;
i[3456]86-*-cygwin*) targ_emul=i386pe ;
- targ_extra_ofiles="deffilep.o pe-dll.o" ;;
+ targ_extra_ofiles="deffilep.o pe-dll.o"
+ test "$targ" != "$host" && LIB_PATH='${tooldir}/lib/w32api' ;;
i[3456]86-*-mingw32*) targ_emul=i386pe ;
targ_extra_ofiles="deffilep.o pe-dll.o" ;;
i[3456]86-*-interix*) targ_emul=i386pe_posix;