summaryrefslogtreecommitdiff
path: root/Configurations
diff options
context:
space:
mode:
Diffstat (limited to 'Configurations')
-rw-r--r--Configurations/00-base-templates.conf18
1 files changed, 15 insertions, 3 deletions
diff --git a/Configurations/00-base-templates.conf b/Configurations/00-base-templates.conf
index e24baf1f53..72cbde203f 100644
--- a/Configurations/00-base-templates.conf
+++ b/Configurations/00-base-templates.conf
@@ -38,10 +38,22 @@ my %targets=(
shared_rcflag => "",
shared_extension => "",
- hashbangperl => "PERL", # Only Unix actually cares
+ #### Defaults for the benefit of the config targets who don't inherit
+ #### a BASE and assume Unixly defaults
+ #### THESE WILL DISAPPEAR IN OpenSSL 1.2
+ build_scheme => [ "unified", "unix" ],
+ build_file => "Makefile",
- build_scheme => [ "unified", "unix" ],
- build_file => "Makefile",
+ ar => "ar",
+ arflags => "r",
+ cc => "cc",
+ hashbangperl => "/usr/bin/env perl",
+ ranlib => sub { which("$config{cross_compile_prefix}ranlib") ?
+ "\$(CROSS_COMPILE)ranlib" : "true"; },
+ rc => "windres",
+
+ #### THESE WILL BE ENABLED IN OpenSSL 1.2
+ #hashbangperl => "PERL", # Only Unix actually cares
},
BASE_common => {