On 5/15/2021 1:49 PM, Tee KOBAYASHI wrote:
The attached patch fixes a problem when building for Mingw-w64 using
binutils-2.36.1:
x86_64-w64-mingw32-windres -I. -Isrc/ --preprocessor
"x86_64-w64-mingw32-gcc -E -xc-header -DRC_INVOKED -MMD -MF
libavdevice/avdeviceres.d -MT libavdevice/avdeviceres.o" -o
libavdevice/avdeviceres.o
/usr/x86_64-w64-mingw32/tmp/portage/media-video/ffmpeg-4.3.2/work/ffmpeg-4.3.2/libavdevice/avdeviceres.rc
sh: line 1: x86_64-w64-mingw32-gcc -E -xc-header -DRC_INVOKED -MMD -MF
libavdevice/avdeviceres.d -MT libavdevice/avdeviceres.o: No such file
or directory
x86_64-w64-mingw32-windres: preprocessing failed.
make: ***
[/usr/x86_64-w64-mingw32/tmp/portage/media-video/ffmpeg-4.3.2/work/ffmpeg-4.3.2/ffbuild/common.mak:85:
libavdevice/avdeviceres.o] Error 1
I can't reproduce this on a msys2 environment. Is this problem only
affecting cross compiling scenarios?
Your patch nonetheless also works on it, so it may be acceptable. Is
--preprocessor-arg available in old binutils' windres?
_______________________________________________
ffmpeg-devel mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".