diff options
author | Andy Polyakov <appro@openssl.org> | 2016-08-14 17:24:10 +0200 |
---|---|---|
committer | Andy Polyakov <appro@openssl.org> | 2016-08-16 12:45:51 +0200 |
commit | 9d46752dfecf26ccd62de33811eb30a19ffb87ac (patch) | |
tree | 98cebed21695614f5a5a04a842aa5ff85c917a89 /Configure | |
parent | f4941736a97de6347d35f6a4bcc574d541e1164f (diff) |
Configure: recognize -static as link option and disable incompatible options.
Reviewed-by: Rich Salz <rsalz@openssl.org>
Diffstat (limited to 'Configure')
-rwxr-xr-x | Configure | 7 |
1 files changed, 7 insertions, 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; |