PR #22955 opened by crueter
URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/22955
Patch URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/22955.patch

Closes #22938

`-I` (include) directives should *not* be passed to the linker.

Signed-off-by: crueter <[email protected]>


>From 55f88acbe3942d60207aa947bed8d2645789f9fb Mon Sep 17 00:00:00 2001
From: crueter <[email protected]>
Date: Tue, 28 Apr 2026 20:22:52 -0400
Subject: [PATCH] configure: ignore -I directives in test_ld

Closes #22938 (maybe)

Signed-off-by: crueter <[email protected]>
---
 configure | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure b/configure
index 9bce658932..58e37f60c2 100755
--- a/configure
+++ b/configure
@@ -1296,7 +1296,7 @@ test_ld(){
     log test_ld "$@"
     type=$1
     shift 1
-    flags=$(filter_out '-l*|*.so' $@)
+    flags=$(filter_out '-l*|*.so|-I*' $@)
     libs=$(filter '-l*|*.so' $@)
     test_$type $($cflags_filter $flags) || return
     flags=$($ldflags_filter $flags)
-- 
2.52.0

_______________________________________________
ffmpeg-devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to