Configure: recognize -static as link option and disable incompatible options. Reviewed-by: Rich Salz <rsalz@openssl.org>
diff --git a/Configure b/Configure index bf5b2c6..0a33fc2 100755 --- a/Configure +++ b/Configure
@@ -725,6 +725,13 @@ { $libs.=$_." "; } + elsif (/^-static$/) + { + $libs.=$_." "; + $disabled{"pic"} = "forced"; + $disabled{"shared"} = "forced"; + $disabled{"threads"} = "forced"; + } elsif (/^-D(.*)$/) { push @user_defines, $1;