PR #23362 opened by Hendrik Leppkes (nevcairiel) URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/23362 Patch URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/23362.patch
The linker does not understand or require -D (define) options, and unknown options are treated as errors. Fixes building with MSVC and SChannel, which regressed after 1e031d4af713168259ea3fd82c54a25f30b7bada >From 088c9118ffaed2430057f64e830a4953eb563639 Mon Sep 17 00:00:00 2001 From: Hendrik Leppkes <[email protected]> Date: Thu, 28 May 2026 23:01:32 +0200 Subject: [PATCH] configure: filter out -D options from msvc link The linker does not understand or require -D (define) options, and unknown options are treated as errors. Fixes building with MSVC and SChannel, which regressed after 1e031d4af713168259ea3fd82c54a25f30b7bada --- configure | 1 + 1 file changed, 1 insertion(+) diff --git a/configure b/configure index f136365d8c..f544c578d4 100755 --- a/configure +++ b/configure @@ -5224,6 +5224,7 @@ msvc_common_flags(){ -LARGEADDRESSAWARE) echo $flag ;; -L*) [ "$_flags_type" != "link" ] || echo -libpath:${flag#-L} ;; -I*) [ "$_flags_type" = "link" ] || echo $flag ;; + -D*) [ "$_flags_type" = "link" ] || echo $flag ;; -Wl,*) ;; *) echo $flag ;; esac -- 2.52.0 _______________________________________________ ffmpeg-devel mailing list -- [email protected] To unsubscribe send an email to [email protected]
