38 lines
2.1 KiB

  1. --- a/Makefile.SH
  2. +++ b/Makefile.SH
  3. @@ -333,7 +333,7 @@ PATH_SEP = $p_
  4. # Macros to invoke a copy of miniperl during the build. Targets which
  5. # are built using these macros should depend on \$(MINIPERL_EXE)
  6. MINIPERL_EXE = miniperl\$(EXE_EXT)
  7. -MINIPERL = \$(LDLIBPTH) ./miniperl\$(EXE_EXT) -Ilib
  8. +MINIPERL = \$(LDLIBPTH) ./miniperl\$(EXE_EXT) -Ilib -I.
  9. # Macros to invoke sort the MANIFEST during build
  10. MANIFEST_SRT = MANIFEST.srt
  11. @@ -996,7 +996,7 @@ lib/buildcustomize.pl: $& $(miniperl_obj
  12. @$(RMS) miniperl.xok
  13. $(CC) $(CLDFLAGS) $(NAMESPACEFLAGS) -o $(MINIPERL_EXE) \
  14. $(miniperl_objs) $(libs)
  15. - $(LDLIBPTH) ./miniperl$(HOST_EXE_EXT) -w -Ilib -Idist/Exporter/lib -MExporter -e '<?>' || sh -c 'echo >&2 Failed to build miniperl. Please run make minitest; exit 1'
  16. + $(LDLIBPTH) ./miniperl$(HOST_EXE_EXT) -w -Ilib -I. -Idist/Exporter/lib -MExporter -e '<?>' || sh -c 'echo >&2 Failed to build miniperl. Please run make minitest; exit 1'
  17. $(MINIPERL) -f write_buildcustomize.pl
  18. !NO!SUBS!
  19. ;;
  20. @@ -1007,7 +1007,7 @@ lib/buildcustomize.pl: \$& \$(miniperl_d
  21. @\$(RMS) miniperl.xok
  22. @\$(RMS) \$(MINIPERL_EXE)
  23. \$(LNS) \$(HOST_PERL) \$(MINIPERL_EXE)
  24. - \$(LDLIBPTH) ./miniperl\$(HOST_EXE_EXT) -w -Ilib -Idist/Exporter/lib -MExporter -e '<?>' || sh -c 'echo >&2 Failed to build miniperl. Please run make minitest; exit 1'
  25. + \$(LDLIBPTH) ./miniperl\$(HOST_EXE_EXT) -w -Ilib -I. -Idist/Exporter/lib -MExporter -e '<?>' || sh -c 'echo >&2 Failed to build miniperl. Please run make minitest; exit 1'
  26. \$(MINIPERL) -f write_buildcustomize.pl 'osname' "$osname"
  27. !GROK!THIS!
  28. else
  29. @@ -1016,7 +1016,7 @@ lib/buildcustomize.pl: $& $(miniperl_dep
  30. @$(RMS) miniperl.xok
  31. $(CC) $(CLDFLAGS) -o $(MINIPERL_EXE) \
  32. $(miniperl_objs) $(libs)
  33. - $(LDLIBPTH) ./miniperl$(HOST_EXE_EXT) -w -Ilib -Idist/Exporter/lib -MExporter -e '<?>' || sh -c 'echo >&2 Failed to build miniperl. Please run make minitest; exit 1'
  34. + $(LDLIBPTH) ./miniperl$(HOST_EXE_EXT) -w -Ilib -I. -Idist/Exporter/lib -MExporter -e '<?>' || sh -c 'echo >&2 Failed to build miniperl. Please run make minitest; exit 1'
  35. $(MINIPERL) -f write_buildcustomize.pl
  36. !NO!SUBS!
  37. fi