skiphoppy has asked for the wisdom of the Perl Monks concerning the following question:

Because I'm doing something evil (using an Oracle.so compiled on another system rather than one compiled for this system), I do NOT want PERL_DL_NONLAZY to be set when I make test. What's the easiest way to change this, which I hope is simply a parameter in my Makefile.PL? :) Do I need to switch to Module::Build?

2006-08-11 Retitled by Corion, as per Monastery guidelines
Original title: 'PERL_DL_NONLAZY'

Replies are listed 'Best First'.
Re: Unsetting PERL_DL_NOLAZY
by Khen1950fx (Canon) on Aug 11, 2006 at 22:25 UTC
    The simplest way that I'm aware of is:

    make test PERL_DL_NONLAZY=0

    That should turn it off.

      That does not appear to actually work. Are you aware of any documentation which says it should? PERL_DL_NONLAZY is not a build variable, but an environment variable that affects a module. As such, it doesn't seem to be subject to all the places where you can override build variables during the make process.