mirror of https://git.ffmpeg.org/ffmpeg.git
common.mak: Less ugly version of the previous windres fix
Using subst here is a really ugly hack Signed-off-by: James Almer <jamrial@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
0cde2ae3f1
commit
a12f679a5d
|
@ -61,7 +61,7 @@ COMPILE_HOSTC = $(call COMPILE,HOSTCC)
|
||||||
$(COMPILE_HOSTC)
|
$(COMPILE_HOSTC)
|
||||||
|
|
||||||
%.o: %.rc
|
%.o: %.rc
|
||||||
$(WINDRES) $(IFLAGS) --preprocessor "$(subst @,,$(DEPCC)) -E -xc-header -DRC_INVOKED $(CC_DEPFLAGS)" -o $@ $<
|
$(WINDRES) $(IFLAGS) --preprocessor "$(DEPWINDRES) -E -xc-header -DRC_INVOKED $(CC_DEPFLAGS)" -o $@ $<
|
||||||
|
|
||||||
%.i: %.c
|
%.i: %.c
|
||||||
$(CC) $(CCFLAGS) $(CC_E) $<
|
$(CC) $(CCFLAGS) $(CC_E) $<
|
||||||
|
|
|
@ -4911,6 +4911,7 @@ LD_LIB=$LD_LIB
|
||||||
LD_PATH=$LD_PATH
|
LD_PATH=$LD_PATH
|
||||||
DLLTOOL=$dlltool
|
DLLTOOL=$dlltool
|
||||||
WINDRES=$windres
|
WINDRES=$windres
|
||||||
|
DEPWINDRES=$dep_cc
|
||||||
LDFLAGS=$LDFLAGS
|
LDFLAGS=$LDFLAGS
|
||||||
SHFLAGS=$(echo $($ldflags_filter $SHFLAGS))
|
SHFLAGS=$(echo $($ldflags_filter $SHFLAGS))
|
||||||
ASMSTRIPFLAGS=$ASMSTRIPFLAGS
|
ASMSTRIPFLAGS=$ASMSTRIPFLAGS
|
||||||
|
|
Loading…
Reference in New Issue