OSDN Git Service

common.mak: fix the current fate failures with windres
authorJames Almer <jamrial@gmail.com>
Sun, 8 Dec 2013 18:57:36 +0000 (15:57 -0300)
committerMichael Niedermayer <michaelni@gmx.at>
Mon, 9 Dec 2013 01:02:37 +0000 (02:02 +0100)
Tested-by: Hendrik Leppkes <h.leppkes@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
common.mak

index d4d5fcb..48f5c21 100644 (file)
@@ -61,7 +61,7 @@ COMPILE_HOSTC = $(call COMPILE,HOSTCC)
        $(COMPILE_HOSTC)
 
 %.o: %.rc
-       $(WINDRES) $(IFLAGS) --preprocessor "$(DEPCC) -E -xc-header -DRC_INVOKED $(CC_DEPFLAGS)" -o $@ $<
+       $(WINDRES) $(IFLAGS) --preprocessor "$(subst @,,$(DEPCC)) -E -xc-header -DRC_INVOKED $(CC_DEPFLAGS)" -o $@ $<
 
 %.i: %.c
        $(CC) $(CCFLAGS) $(CC_E) $<