summaryrefslogtreecommitdiffstats
path: root/w32api-sysroot.patch
blob: a8373c9d23dd64f6faba436944546cbba54398a2 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/ld/configure.tgt
+++ b/ld/configure.tgt
@@ -263,7 +263,7 @@ i[3-7]86-*-pe)		targ_emul=i386pe ;
 			targ_extra_ofiles="deffilep.o pe-dll.o" ;;
 i[3-7]86-*-cygwin*)	targ_emul=i386pe ;
 			targ_extra_ofiles="deffilep.o pe-dll.o"
-			test "$targ" != "$host" && LIB_PATH='${tooldir}/lib/w32api' ;;
+			test "$targ" != "$host" && LIB_PATH='${tooldir}/lib/w32api:=/usr/lib/w32api' ;;
 i[3-7]86-*-mingw32*)	targ_emul=i386pe ;
 			targ_extra_ofiles="deffilep.o pe-dll.o" ;;
 x86_64-*-pe | x86_64-*-pep) targ_emul=i386pep ;