Integrate podlators-1.25
[p5sagit/p5-mst-13.2.git] / lib / ExtUtils / MM_NW5.pm
index 03a565f..7f13dd0 100644 (file)
@@ -124,10 +124,10 @@ XS_DEFINE_VERSION = -D\$(XS_VERSION_MACRO)=\\\"\$(XS_VERSION)\\\"
     # Copy this to makefile as INCLUDE = d:\...;d:\;
     (my $inc = $Config{'incpath'}) =~ s/([ ]*)-I/;/g;
 
-    # Get the additional include path and append to INCLUDE, keeping it
-    # in INC will give problems during compilation, hence reset it
-    # after getting the value
-    $self->{INC} = '';
+    # Get the additional include path from the user through the command prompt
+    # and append to INCLUDE
+#    $self->{INC} = '';
+    push @m, "INC = $self->{'INC'}\n";
 
     push @m, qq{
 INCLUDE = $inc;
@@ -279,7 +279,7 @@ END
 END
 
     $m .= <<'END' if $self->{PERL_SRC};
-        $(NOECHO)echo "$(EXTRALIBS)" >> $(PERL_SRC)\ext.libs
+       $(NOECHO)echo "$(EXTRALIBS)" >> $(PERL_SRC)\ext.libs
     
     
 END