in reply to Re: MakeMaker, and passing command line arguments along.
in thread MakeMaker, and passing command line arguments along.
and then the subdir Makefile.PL simply has to specify:our %args = map { split /\s*=\s*/ } @ARGV; our $LIBS_LOC = $args{ LIBS } || "-lgmp"; our $INC_LOC = $args{ INC };
I haven't yet looked at any caveats with that approach. I'll get to that now.WriteMakfile( .... LIBS => $LIBS_LOC, INC => $INC_LOC, .... );
|
|---|