Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimo Rothenpieler <timo@rothenpieler.org>2022-08-07 17:31:51 +0300
committerTimo Rothenpieler <timo@rothenpieler.org>2022-08-13 15:42:52 +0300
commit9ca3b8b7cddcd44802cfb8377210a5ccf93184b6 (patch)
tree918e60dac5701d1ce147a46f864e4429b2833193 /configure
parentf85e0673c3a82acd2b267e934c6db3c9da154d86 (diff)
compat: add msvc windres wrapper
This is by no means a complete wrapper. It's only designed to fit the usecase ffmpegs build system has.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure b/configure
index d5656daf7f..fe94941a03 100755
--- a/configure
+++ b/configure
@@ -4371,6 +4371,7 @@ case "$toolchain" in
die "Unsupported MSVC version (2013 or newer required)"
fi
ld_default="$source_path/compat/windows/mslink"
+ windres_default="$source_path/compat/windows/mswindres"
nm_default="dumpbin.exe -symbols"
ar_default="lib.exe"
case "${arch:-$arch_default}" in
@@ -5621,6 +5622,7 @@ case $target_os in
# Cannot build both shared and static libs with MSVC or icl.
disable static
fi
+ ! enabled small && test_cmd $windres --version && enable gnu_windres
enabled x86_32 && check_ldflags -LARGEADDRESSAWARE
shlibdir_default="$bindir_default"
SLIBPREF=""