提交 9d46752d 编写于 作者: A Andy Polyakov

Configure: recognize -static as link option and disable incompatible options.

Reviewed-by: NRich Salz <rsalz@openssl.org>
上级 f4941736
......@@ -725,6 +725,13 @@ foreach (@argvcopy)
{
$libs.=$_." ";
}
elsif (/^-static$/)
{
$libs.=$_." ";
$disabled{"pic"} = "forced";
$disabled{"shared"} = "forced";
$disabled{"threads"} = "forced";
}
elsif (/^-D(.*)$/)
{
push @user_defines, $1;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册