Commit 9d46752d authored by Andy Polyakov's avatar Andy Polyakov
Browse files

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



Reviewed-by: default avatarRich Salz <rsalz@openssl.org>
parent f4941736
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -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;