aboutsummaryrefslogtreecommitdiff
path: root/ld/configure.tgt
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/configure.tgt
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/configure.tgt')
-rw-r--r--ld/configure.tgt3
1 files changed, 2 insertions, 1 deletions
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;