ExtUtils-MakeMaker

 view release on metacpan or  search on metacpan

lib/ExtUtils/MM_OS390.pm  view on Meta::CPAN

44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
if ($armaybe ne ':'){
    $ldfrom = 'tmp$(LIB_EXT)';
    push(@m,"       \$(ARMAYBE) cr $ldfrom $object\n");
    push(@m,"       \$(RANLIB) $ldfrom\n");
}
 
# For example in AIX the shared objects/libraries from previous builds
# linger quite a while in the shared dynalinker cache even when nobody
# is using them.  This is painful if one for instance tries to restart
# a failed build because the link command will fail unnecessarily 'cos
# the shared object/library is 'busy'.
push(@m,"   \$(RM_F) \$\@\n");
 
my $libs = '$(LDLOADLIBS)';
 
my $ld_run_path_shell = "";
if ($self->{LD_RUN_PATH} ne "") {
    $ld_run_path_shell = 'LD_RUN_PATH="$(LD_RUN_PATH)" ';
}
 
push @m, sprintf <<'MAKE', $ld_run_path_shell, $self->xs_obj_opt('$@'), $dlsyms_arg, $ldfrom, $libs, $exportlist;

lib/ExtUtils/MM_Unix.pm  view on Meta::CPAN

1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
        # type of compiler
        my @dirs = split ':', $self->{LD_RUN_PATH};
        $ldrun = join " ", map(qq{-Wl,-rpath,"$_"}, @dirs);
    }
}
 
# For example in AIX the shared objects/libraries from previous builds
# linger quite a while in the shared dynalinker cache even when nobody
# is using them.  This is painful if one for instance tries to restart
# a failed build because the link command will fail unnecessarily 'cos
# the shared object/library is 'busy'.
push(@m,"   \$(RM_F) \$\@\n");
 
my $libs = '$(LDLOADLIBS)';
if (($Is{NetBSD} || $Is{Interix} || $Is{Android}) && $Config{'useshrplib'} eq 'true') {
    # Use nothing on static perl platforms, and to the flags needed
    # to link against the shared libperl library on shared perl
    # platforms.  We peek at lddlflags to see if we need -Wl,-R
    # or -R to add paths to the run-time library search path.
    if ($Config{'lddlflags'} =~ /-Wl,-R/) {
        $libs .= ' "-L$(PERL_INC)" "-Wl,-R$(INSTALLARCHLIB)/CORE" "-Wl,-R$(PERL_ARCHLIB)/CORE" -lperl';



( run in 0.266 second using v1.01-cache-2.11-cpan-0f795438458 )