[FFmpeg-devel] [PATCH] configure: Add dash before arflags
avener
averne381 at gmail.com
Wed Aug 4 00:07:13 EEST 2021
From: averne <averne381 at gmail.com>
This allows specifying additional flags with
`./configure --ar='ar -<...>`.
Previously this resulted in commands such as `ar rcD -T`,
which give an error ("no operation specified"), on certain
versions of ar (eg 2.30-ubuntu).
Signed-off-by: avener <averne381 at gmail.com>
---
configure | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/configure b/configure
index b61a189b07..428180273b 100755
--- a/configure
+++ b/configure
@@ -4869,10 +4869,10 @@ if $ar 2>&1 | grep -q Microsoft; then
arflags="-nologo"
ar_o='-out:$@'
elif $ar 2>&1 | grep -q "\[D\] "; then
- arflags="rcD"
+ arflags="-rcD"
ar_o='$@'
else
- arflags="rc"
+ arflags="-rc"
ar_o='$@'
fi
--
2.32.0
More information about the ffmpeg-devel
mailing list