shared_rcflag => "",
shared_extension => "",
+ hashbangperl => "PERL", # Only Unix actually cares
+
build_scheme => [ "unified", "unix" ],
build_file => "Makefile",
},
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",
LDFLAGS => 'lflags',
LDLIBS => 'ex_libs',
);
-my %user_defaults = (
- AR => 'ar',
- ARFLAGS => [ 'r' ],
- CC => 'cc',
- CXX => 'c++',
- HASHBANGPERL=> '/usr/bin/env perl', # Only Unix actually cares
- RANLIB => sub { which("$config{cross_compile_prefix}ranlib") ?
- "\$(CROSS_COMPILE)ranlib" : "true"; },
- RC => 'windres',
- );
$config{openssl_api_defines}=[];
$config{openssl_algorithm_defines}=[];
$config{$target_key} =
$mkvalue->($ref_type, $user{$_})
|| $mkvalue->($ref_type, $target{$target_key});
- $config{$target_key} ||=$mkvalue->($ref_type, $user_defaults{$_})
- if exists $user_defaults{$_};
if (defined $useradd{$_} && @{$useradd{$_}}) {
if (defined $config{$target_key}) {
push @{$config{$target_key}}, @{$useradd{$_}};