Configure: recognize -static as link option and disable incompatible options.
Reviewed-by: Rich Salz <rsalz@openssl.org>
This commit is contained in:
parent
f4941736a9
commit
9d46752dfe
1 changed files with 7 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue