Re: [svn:PHP-Sandwich] r12056 - PHP-Sandwich/trunk

[email protected] ("David E. Wheeler") Mon, 10 Nov 2008 09:25:11 -0800
Newsgroups perl.php.sandwich.dev
Message-ID <[email protected]>
On Nov 10, 2008, at 12:30 AM, Andreas Faafeng wrote:

> David E. Wheeler wrote:
>> On Nov 7, 2008, at 12:22 AM, [email protected] wrote:
>>> +my $prefix = shift @ARGV || ($conf{prefix});
>> I don't think that this is the way to do it, because  
>> ExtUtils::MakeMaker supports other options to be passed on the  
>> command-line, like LDFLAGS and LIB.
>
> Would something like this be ok?
>
> -my $prefix = shift @ARGV || ($conf{prefix});
> +my $prefix = $ENV{PHP_PREFIX} || ($conf{prefix});

Yes, exactly.

Best,

David