diff options
author | Andy Polyakov <appro@openssl.org> | 2018-06-11 12:22:29 +0200 |
---|---|---|
committer | Andy Polyakov <appro@openssl.org> | 2018-06-13 10:47:43 +0200 |
commit | 60aa6c1a590de47acdd290a60e25b87005a35b8f (patch) | |
tree | be7824ca9e82d9a2c128209ab17623eb2de965a6 /Configure | |
parent | dbb85890a85af25db35dbd710ac07b3c704a27f0 (diff) | |
download | openssl-new-60aa6c1a590de47acdd290a60e25b87005a35b8f.tar.gz |
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)
Diffstat (limited to 'Configure')
-rwxr-xr-x | Configure | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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 |