mirror of https://github.com/openssl/openssl
Configurations/descrip.mms.tmpl: Add another inclusion hack
More adaptations are needed for sources in ssl/, which all include `ssl/ssl_local.h`. Reviewed-by: Paul Dale <pauli@openssl.org> Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com> (Merged from https://github.com/openssl/openssl/pull/19276)
This commit is contained in:
parent
1fcd84c701
commit
a9c474dc98
|
@ -227,6 +227,14 @@
|
|||
my $obj = platform->obj($_);
|
||||
push @{$unified_info{includes_extra}->{$obj}}, qw(../);
|
||||
}
|
||||
foreach (grep /\[\.ssl\].*?\.o$/, keys %{$unified_info{sources}}) {
|
||||
my $obj = platform->obj($_);
|
||||
# Most of the files in [.ssl.record.methods] include "ssl_local.h"
|
||||
# which includes things like "record/record.h". Adding "./" as an
|
||||
# inclusion directory helps making this sort of header from these
|
||||
# directories.
|
||||
push @{$unified_info{includes_extra}->{$obj}}, qw(./);
|
||||
}
|
||||
foreach (grep /\[\.ssl\.(?:record|statem)\].*?\.o$/, keys %{$unified_info{sources}}) {
|
||||
my $obj = platform->obj($_);
|
||||
# Most of the files in [.ssl.record] and [.ssl.statem] include
|
||||
|
@ -236,6 +244,14 @@
|
|||
push @{$unified_info{includes_extra}->{$obj}}, qw(../);
|
||||
|
||||
}
|
||||
foreach (grep /\[\.ssl\.record\.methods\].*?\.o$/, keys %{$unified_info{sources}}) {
|
||||
my $obj = platform->obj($_);
|
||||
# Most of the files in [.ssl.record.methods] include "../../ssl_local.h"
|
||||
# which includes things like "record/record.h". Adding "../../" as an
|
||||
# inclusion directory helps making this sort of header from these
|
||||
# directories.
|
||||
push @{$unified_info{includes_extra}->{$obj}}, qw(../../);
|
||||
}
|
||||
foreach (grep /\[\.test\].*?\.o$/, keys %{$unified_info{sources}}) {
|
||||
my $obj = platform->obj($_);
|
||||
push @{$unified_info{includes_extra}->{$obj}}, qw(../ssl ./helpers);
|
||||
|
|
Loading…
Reference in New Issue