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:
Richard Levitte 2016-02-21 20:52:39 +01:00
parent a773b52a61
commit 4f16039efe
1 changed files with 4 additions and 0 deletions

View File

@ -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 "")
{