mirror of https://github.com/openssl/openssl
Configure: add shared() to facilitate shared-specific flags.
This allows to specify flags specific to shared build, e.g. 'bin_lflags => shared("-Wl,-bsvr4")'. Reviewed-by: Rich Salz <rsalz@openssl.org> (Merged from https://github.com/openssl/openssl/pull/6453)
This commit is contained in:
parent
dbb85890a8
commit
60aa6c1a59
|
@ -2777,7 +2777,10 @@ sub threads {
|
|||
return sub { add($disabled{threads} ? () : @flags)->(); }
|
||||
}
|
||||
|
||||
|
||||
sub shared {
|
||||
my @flags = @_;
|
||||
return sub { add($disabled{shared} ? () : @flags)->(); }
|
||||
}
|
||||
|
||||
our $add_called = 0;
|
||||
# Helper function to implement adding values to already existing configuration
|
||||
|
|
Loading…
Reference in New Issue