Maketest.rules: Use the cross-compiled import libraries for crosstest instead of the MinGW ones.

Don't pass the configure-specific gcc flags to the cross-compiler.
This commit is contained in:
Alexandre Julliard 2008-07-09 11:55:52 +02:00
parent 26c930b32d
commit 9e7deebcb8
1 changed files with 2 additions and 2 deletions

View File

@ -58,7 +58,7 @@ $(TESTRESULTS): $(MODULE)$(DLLEXT) ../$(TESTDLL)$(DLLEXT)
.SUFFIXES: .cross.o .res.cross.o
.c.cross.o:
$(CROSSCC) -c $(ALLCFLAGS) -o $@ $<
$(CROSSCC) -c $(INCLUDES) $(DEFS) $(CPPFLAGS) $(CFLAGS) -o $@ $<
.res.res.cross.o:
$(CROSSWINDRES) -i $< -o $@
@ -66,7 +66,7 @@ $(TESTRESULTS): $(MODULE)$(DLLEXT) ../$(TESTDLL)$(DLLEXT)
crosstest:: @CROSSTEST@
$(CROSSTEST): $(CROSSOBJS) Makefile.in
$(CROSSCC) $(CROSSOBJS) -o $@ $(ALL_LIBS)
$(CROSSCC) $(CROSSOBJS) -o $@ -L$(DLLDIR) $(IMPORTS:%=-L$(DLLDIR)/%) $(ALL_LIBS)
$(CROSSOBJS): $(IDL_GEN_HEADERS)