aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;