[openssl-commits] [openssl] -static implies no-PIC?

Andy Polyakov appro at openssl.org
Wed Aug 17 15:20:39 UTC 2016


>> --- a/Configure
>> +++ b/Configure
>> @@ -725,6 +725,13 @@ foreach (@argvcopy)
>>  			{
>>  			$libs.=$_." ";
>>  			}
>> +		elsif (/^-static$/)
>> +			{
>> +			$libs.=$_." ";
>> +			$disabled{"pic"} = "forced";
> 
> shared implies PIC, of course, but why does static need to imply
> no-PIC?  Maybe someone has a reason to hit themself in the foot...

Nobody tries to take away your rope, just run ./config -static -fPIC.

>> +			$disabled{"shared"} = "forced";
>> +			$disabled{"threads"} = "forced";
>> +			}
>>  		elsif (/^-D(.*)$/)
>>  			{
>>  			push @user_defines, $1;
>> _____
>> openssl-commits mailing list
>> To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-commits
> 



More information about the openssl-commits mailing list