From 51f7a3e6c5192d3f9a0fa63b0b5617c151180ad7 Mon Sep 17 00:00:00 2001 From: Xiaoyu Lu Date: Wed, 19 Jun 2019 15:19:21 +0000 Subject: [PATCH] CryptoPkg/OpensslLib: Exclude err_all.c in process_files.pl REF: https://bugzilla.tianocore.org/show_bug.cgi?id=1881 Commit(0a1b13fd4d2210e2c3) fix VS2017 build failure remove useless file in OpensslLib[Crypto].inf, but we use process_files.pl to generate files. So exclude err_all.c file in process_files.pl Cc: Jian J Wang Cc: Ting Ye Signed-off-by: Xiaoyu Lu Reviewed-by: Jian J Wang --- CryptoPkg/Library/OpensslLib/process_files.pl | 1 + 1 file changed, 1 insertion(+) diff --git a/CryptoPkg/Library/OpensslLib/process_files.pl b/CryptoPkg/Library/OpensslLib/process_files.pl index 671587efe1..e13c0acb4d 100755 --- a/CryptoPkg/Library/OpensslLib/process_files.pl +++ b/CryptoPkg/Library/OpensslLib/process_files.pl @@ -133,6 +133,7 @@ foreach my $product ((@{$unified_info{libraries}}, # So it can reduce porting time, compile time, library size. next if $s =~ "crypto/rand/randfile.c"; next if $s =~ "crypto/store/"; + next if $s =~ "crypto/err/err_all.c"; if ($product =~ "libssl") { push @sslfilelist, ' $(OPENSSL_PATH)/' . $s . "\r\n";