[FFmpeg-devel] [PATCH] configure: enable windres on win32/win64 if available
Matthias C. M. Troffaes
matthias.troffaes at gmail.com
Fri Jul 9 22:02:32 EEST 2021
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.
---
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
--
2.25.1
More information about the ffmpeg-devel
mailing list