summaryrefslogtreecommitdiffstats
path: root/Configurations/10-main.conf
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2018-03-28 10:07:32 +0200
committerAndy Polyakov <appro@openssl.org>2018-03-29 14:33:36 +0200
commitfffb1c5496e47dacc8245bd140f6955a31c5ea6f (patch)
treebd14a0cfe4ae9480d0cdc353624fdb3955de1023 /Configurations/10-main.conf
parentff455d993ce13dbc8e308753aa15310f94231fab (diff)
Configurations/10-main.conf: fix VC-noCE-common template.
picker() is type agnostic, but its output consumer is not. Or rather it doesn't work if picker() picks nothing when consumer expects array. So ensure array is returned when array is expected. Reviewed-by: Richard Levitte <levitte@openssl.org> (Merged from https://github.com/openssl/openssl/pull/5770)
Diffstat (limited to 'Configurations/10-main.conf')
-rw-r--r--Configurations/10-main.conf3
1 files changed, 2 insertions, 1 deletions
diff --git a/Configurations/10-main.conf b/Configurations/10-main.conf
index 0f7bdf2687..03a53d3bf4 100644
--- a/Configurations/10-main.conf
+++ b/Configurations/10-main.conf
@@ -1285,7 +1285,8 @@ my %targets = (
sub {
($disabled{shared} ? "" : "/MD");
})),
- defines => add(picker(debug => [ "DEBUG", "_DEBUG" ])),
+ defines => add(picker(default => [], # works as type cast
+ debug => [ "DEBUG", "_DEBUG" ])),
lib_cflags => add(sub { $disabled{shared} ? "/MT /Zl" : () }),
# Following might/should appears controversial, i.e. defining
# /MDd without evaluating $disabled{shared}. It works in