Stop having Unix defaults in Configure (partial)
[openssl.git] / Configurations / 00-base-templates.conf
index 1a2964520ab3b17b7ed790c41b3d441b444e98a7..e24baf1f53e6ce5a81bce6819c086b1db3f8ddc6 100644 (file)
@@ -38,6 +38,8 @@ my %targets=(
        shared_rcflag   => "",
        shared_extension        => "",
 
+       hashbangperl    => "PERL", # Only Unix actually cares
+
         build_scheme    => [ "unified", "unix" ],
         build_file      => "Makefile",
     },
@@ -61,12 +63,19 @@ my %targets=(
         inherit_from    => [ "BASE_common" ],
         template        => 1,
 
+        ar              => "ar",
+        arflags         => "r",
+        cc              => "cc",
         lflags          =>
             sub { $withargs{zlib_lib} ? "-L".$withargs{zlib_lib} : () },
         ex_libs         =>
             sub { !defined($disabled{zlib})
                   && defined($disabled{"zlib-dynamic"})
                   ? "-lz" : () },
+        hashbangperl    => "/usr/bin/env perl", # Only Unix actually cares
+        ranlib          => sub { which("$config{cross_compile_prefix}ranlib") ?
+                                     "\$(CROSS_COMPILE)ranlib" : "true"; },
+        rc              => "windres",
 
         build_scheme    => [ "unified", "unix" ],
         build_file      => "Makefile",