提交 884a36a7 编写于 作者: M Måns Rullgård

configure: fix handling of option arguments containing = sign

Originally committed as revision 15656 to svn://svn.ffmpeg.org/ffmpeg/trunk
上级 31c4f070
......@@ -1104,7 +1104,7 @@ for opt do
--help|-h) show_help
;;
*)
optname="${opt%=*}"
optname="${opt%%=*}"
optname="${optname#--}"
optname=$(echo "$optname" | sed 's/-/_/g')
is_in $optname $CMDLINE_SET || die_unknown $opt
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册