[FFmpeg-devel] [PATCH] ffbuild/common.mak: Fix for windres in binutils-2.36.1

Tee KOBAYASHI xtkoba+ffmpeg at gmail.com
Sat May 15 19:49:14 EEST 2021


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ffmpeg-windres.patch
Type: application/x-patch
Size: 555 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20210516/d0e5defe/attachment.bin>


More information about the ffmpeg-devel mailing list