From f8b0dbb8175f283a9e2a255d981634cfaaaf211a Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Tue, 12 Nov 2002 03:48:43 +0000 Subject: [PATCH] * configure.tgt (LIB_PATH): Default to searching w32api directory under cygwin. --- ld/ChangeLog | 5 +++++ ld/configure.tgt | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ld/ChangeLog b/ld/ChangeLog index 20ba2c85f0b..061266d0312 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,8 @@ +2002-11-11 Christopher Faylor + + * configure.tgt (LIB_PATH): Default to searching w32api directory under + cygwin. + 2002-11-11 Charles Wilson * pe-dll.c (autofilter_liblist): add libmingwex and libgcj to the list diff --git a/ld/configure.tgt b/ld/configure.tgt index 0aca3d00e6b..6860268977d 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; -- 2.30.2