* configure.tgt (LIB_PATH): Default to searching w32api directory under cygwin.
authorChristopher Faylor <me+cygwin@cgf.cx>
Tue, 12 Nov 2002 03:48:43 +0000 (03:48 +0000)
committerChristopher Faylor <me+cygwin@cgf.cx>
Tue, 12 Nov 2002 03:48:43 +0000 (03:48 +0000)
ld/ChangeLog
ld/configure.tgt

index 20ba2c85f0bcebf1e96f2c5eea1918efa08abbbb..061266d03128a19db3d47e22a8bddd91d0d73005 100644 (file)
@@ -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
index 0aca3d00e6b68c374e3c67e0484d2e4bbf794a2f..6860268977d3c39175f7be693aaca9b903811d2d 100644 (file)
@@ -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;