From: Ilya Zakharevich Date: Fri, 21 Dec 2001 15:49:09 +0000 (-0500) Subject: uninstalled build of modules broken X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=57ffc44542a4ba3add07c85fbc90be0218abeb65;p=p5sagit%2Fp5-mst-13.2.git uninstalled build of modules broken Message-ID: <20011221154909.A6760@math.ohio-state.edu> p4raw-id: //depot/perl@13839 --- diff --git a/lib/ExtUtils/MM_Unix.pm b/lib/ExtUtils/MM_Unix.pm index 103854f..0efe2d8 100644 --- a/lib/ExtUtils/MM_Unix.pm +++ b/lib/ExtUtils/MM_Unix.pm @@ -2066,6 +2066,7 @@ usually solves this kind of problem. # How do we run perl? $self->{PERLRUN} = $self->{PERL}; + $self->{PERLRUN} .= ' -I$(PERL_LIB)' if $self->{UNINSTALLED_PERL}; # How do we run perl when installing libraries? $self->{PERLRUNINST} .= $self->{PERL}. ' -I$(INST_ARCHLIB) -I$(INST_LIB)'; @@ -3504,12 +3505,12 @@ test :: \$(TEST_TYPE) push(@m, "\n"); push(@m, "test_dynamic :: pure_all\n"); - push(@m, $self->test_via_harness('$(FULLPERL)', '$(TEST_FILES)')) if $tests; - push(@m, $self->test_via_script('$(FULLPERL)', '$(TEST_FILE)')) if -f "test.pl"; + push(@m, $self->test_via_harness('$(PERLRUN)', '$(TEST_FILES)')) if $tests; + push(@m, $self->test_via_script('$(PERLRUN)', '$(TEST_FILE)')) if -f "test.pl"; push(@m, "\n"); push(@m, "testdb_dynamic :: pure_all\n"); - push(@m, $self->test_via_script('$(FULLPERL) $(TESTDB_SW)', '$(TEST_FILE)')); + push(@m, $self->test_via_script('$(PERLRUN) $(TESTDB_SW)', '$(TEST_FILE)')); push(@m, "\n"); # Occasionally we may face this degenerate target: