[FFmpeg-devel] [PATCH] configure: enable windres on win32/win64 if available
James Almer
jamrial at gmail.com
Fri Jul 9 23:27:10 EEST 2021
On 7/9/2021 4:02 PM, Matthias C. M. Troffaes wrote:
> This patch ensures that MSVC builds under msys will use windres when
> available, thereby resulting in the appropriate version and copyright
> information to be included in the dlls, as is already the case in the mingw
> builds.
Wouldn't it make more sense to add support for rc.exe instead?
> ---
> configure | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/configure b/configure
> index b124411609..0fea0bf595 100755
> --- a/configure
> +++ b/configure
> @@ -5544,6 +5544,7 @@ case $target_os in
> enabled x86_64 && objformat="win64" || objformat="win32"
> ranlib=:
> enable dos_paths
> + enabled shared && ! enabled small && test_cmd $windres --version && enable gnu_windres
> ;;
> cygwin*)
> target_os=cygwin
>
More information about the ffmpeg-devel
mailing list