This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
[patch] Search .../lib/w32api under cygwin
- From: Christopher Faylor <cgf at redhat dot com>
- To: binutils at sources dot redhat dot com
- Date: Mon, 11 Nov 2002 22:43:58 -0500
- Subject: [patch] Search .../lib/w32api under cygwin
A minor patch to improve the way ld works on cygwin.
cgf
2002-11-11 Christopher Faylor <cgf@redhat.com>
* configure.tgt (LIB_PATH): Default to searching w32api directory under
cygwin.
Index: configure.tgt
===================================================================
RCS file: /cvs/uberbaum/ld/configure.tgt,v
retrieving revision 1.112
diff -u -p -r1.112 configure.tgt
--- configure.tgt 16 Oct 2002 19:54:54 -0000 1.112
+++ configure.tgt 12 Nov 2002 03:23:54 -0000
@@ -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"
+ [ "$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;