mirror of
https://github.com/guanzhi/GmSSL.git
synced 2026-05-18 06:16:30 +08:00
update build system
This commit is contained in:
17
Configure
17
Configure
@@ -436,13 +436,14 @@ my @disablables = (
|
||||
"rsa",
|
||||
"pem",
|
||||
"pkcs7",
|
||||
"pkcs12",
|
||||
"serpent",
|
||||
"speck",
|
||||
"base58",
|
||||
"java",
|
||||
"ca",
|
||||
"gmtls",
|
||||
"fuzz",
|
||||
"test",
|
||||
);
|
||||
foreach my $proto ((@tls, @dtls))
|
||||
{
|
||||
@@ -932,6 +933,20 @@ foreach (sort (keys %disabled))
|
||||
push @{$config{openssl_other_defines}}, "OPENSSL_NO_ENGINE";
|
||||
print " OPENSSL_NO_ENGINE (skip engines)";
|
||||
}
|
||||
elsif (/^test$/)
|
||||
{
|
||||
@{$config{dirs}} = grep !/^test$/, @{$config{dirs}};
|
||||
#@{$config{sdirs}} = grep !/^engine$/, @{$config{sdirs}};
|
||||
#push @{$config{openssl_other_defines}}, "OPENSSL_NO_ENGINE";
|
||||
print " OPENSSL_NO_TEST (skip test)";
|
||||
}
|
||||
elsif (/^fuzz$/)
|
||||
{
|
||||
@{$config{dirs}} = grep !/^fuzz$/, @{$config{dirs}};
|
||||
#@{$config{sdirs}} = grep !/^engine$/, @{$config{sdirs}};
|
||||
#push @{$config{openssl_other_defines}}, "OPENSSL_NO_ENGINE";
|
||||
print " OPENSSL_NO_FUZZ (skip fuzz)";
|
||||
}
|
||||
else
|
||||
{
|
||||
my ($WHAT, $what);
|
||||
|
||||
Reference in New Issue
Block a user