From 4f16039efe3589aa4d63a6f1fab799d0cd9338ca Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Sun, 21 Feb 2016 20:52:39 +0100 Subject: [PATCH] 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 --- Configure | 4 ++++ 1 file changed, 4 insertions(+) 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 "") {