ExtUtils-MakeMaker
view release on metacpan or search on metacpan
lib/ExtUtils/MM_OS390.pm view on Meta::CPAN
444546474849505152535455565758596061626364if
(
$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
109010911092109310941095109610971098109911001101110211031104110511061107110811091110
# 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 )