in reply to Re^2: How to avoid having to remove PERL_DL_NONLAZY=1 from Makefile?
in thread How to avoid having to remove PERL_DL_NONLAZY=1 from Makefile?
Try this:
use ExtUtils::MakeMaker; package MY; sub test_via_harness { my($self, $perl, $tests) = @_; local $_ = $self->SUPER::test_via_harness($perl, $tests); s/PERL_DL_NONLAZY=1//g; return $_; } sub test_via_script { my($self, $perl, $tests) = @_; local $_ = $self->SUPER::test_via_script($perl, $tests); s/PERL_DL_NONLAZY=1//g; return $_; } package main; # rest of your Makefile.PL
the lowliest monk
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: How to avoid having to remove PERL_DL_NONLAZY=1 from Makefile?
by diotalevi (Canon) on Mar 31, 2005 at 22:16 UTC | |
by tlm (Prior) on Mar 31, 2005 at 22:34 UTC |