From 9d9e58a46813ab365c31a69662f7137f36ba98d2 Mon Sep 17 00:00:00 2001 From: Peter Jones Date: Tue, 9 Oct 2018 10:39:17 -0400 Subject: Cryptlib: Fix our update helpers and Configure Signed-off-by: Peter Jones --- CryptoPkg/Library/OpensslLib/openssl/Configure | 25 ++++++++++++++++++++----- 1 file changed, 20 insertions(+), 5 deletions(-) (limited to 'CryptoPkg/Library/OpensslLib/openssl') diff --git a/CryptoPkg/Library/OpensslLib/openssl/Configure b/CryptoPkg/Library/OpensslLib/openssl/Configure index 77b4f62a..b80492b8 100755 --- a/CryptoPkg/Library/OpensslLib/openssl/Configure +++ b/CryptoPkg/Library/OpensslLib/openssl/Configure @@ -850,17 +850,32 @@ foreach (sort (keys %disabled)) printf " no-%-12s %-10s", $_, "[$disabled{$_}]"; if (/^dso$/) - { } + { + push @{$config{openssl_other_defines}}, "OPENSSL_NO_DSO"; + print " OPENSSL_NO_DSO (no dlopen)" + } elsif (/^threads$/) - { } + { + push @{$config{openssl_other_defines}}, "OPENSSL_NO_THREADS"; + print " OPENSSL_NO_THREADS (no threading)" + } elsif (/^shared$/) - { } + { + push @{$config{openssl_other_defines}}, "OPENSSL_NO_SHARED"; + print " OPENSSL_NO_SHARED (no shared library)" + } elsif (/^pic$/) - { } + { + push @{$config{openssl_other_defines}}, "OPENSSL_NO_PIC"; + print " OPENSSL_NO_PIC (no PIC)" + } elsif (/^zlib$/) { } elsif (/^dynamic-engine$/) - { } + { + push @{$config{openssl_other_defines}}, "OPENSSL_NO_DYNAMIC_ENGINE"; + print " OPENSSL_NO_DYNAMIC_ENGINE (skip dynamic engines)" + } elsif (/^makedepend$/) { } elsif (/^zlib-dynamic$/) -- cgit v1.2.3