From: Andy Polyakov Date: Sun, 14 Aug 2016 15:24:10 +0000 (+0200) Subject: Configure: recognize -static as link option and disable incompatible options. X-Git-Tag: OpenSSL_1_1_0~180 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9d46752dfecf26ccd62de33811eb30a19ffb87ac;p=openssl Configure: recognize -static as link option and disable incompatible options. Reviewed-by: Rich Salz --- diff --git a/Configure b/Configure index bf5b2c667c..0a33fc2e41 100755 --- a/Configure +++ b/Configure @@ -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;