Add OPENSSL_PIC back
In the earlier change, where static libraries get built with position independent code, OPENSSL_PIC was removed by mistake. This adds it back. Reviewed-by: Tim Hudson <tjh@openssl.org>
This commit is contained in:
parent
a773b52a61
commit
4f16039efe
1 changed files with 4 additions and 0 deletions
|
@ -1042,6 +1042,10 @@ if ($disabled{pic})
|
|||
$target{shared_cflag} = $target{shared_ldflag} =
|
||||
$target{shared_rcflag} = "";
|
||||
}
|
||||
else
|
||||
{
|
||||
push @{$config{defines}}, "OPENSSL_PIC";
|
||||
}
|
||||
|
||||
if ($target{sys_id} ne "")
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue