From: Richard Levitte Date: Sun, 21 Feb 2016 19:52:39 +0000 (+0100) Subject: Add OPENSSL_PIC back X-Git-Tag: OpenSSL_1_1_0-pre4~540 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=4f16039efe3589aa4d63a6f1fab799d0cd9338ca;p=oweals%2Fopenssl.git 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 --- diff --git a/Configure b/Configure index 38ef7f17cd..b6c8d8ce6c 100755 --- a/Configure +++ b/Configure @@ -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 "") {