in reply to Re: ExtUtils::MakeMaker PREFIX and LIB
in thread ExtUtils::MakeMaker PREFIX and LIB
instead of$PREFIX/lib/perl5/5.8.2/some/long/module/name
Since I'd like to use FindBin to point an executable installed in $PREFIX/bin to the locally installed libs the inbetween 'perl5/5.8.2/site_perl' is kind of awkward in such a situation (while obviously very useful when installing into a default location).$PREFIX/lib/some/long/module/name
Anyway, I've added this to my Makefile.PL :
not very elegant but kind of works.# if PREFIX is set, set LIB too foreach my $arg (@ARGV) { if ($arg =~ /^PREFIX=(.*)/) { push @ARGV, "LIB=$1/lib"; } }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: ExtUtils::MakeMaker PREFIX and LIB
by PodMaster (Abbot) on Apr 09, 2005 at 09:47 UTC |