2018-12-03 03:44:42 +08:00
|
|
|
--- a/Makefile.SH
|
|
|
|
+++ b/Makefile.SH
|
2023-11-21 14:13:35 +08:00
|
|
|
@@ -346,7 +346,7 @@ OBJ_EXT = $_o
|
2017-09-25 07:39:27 +08:00
|
|
|
# Macros to invoke a copy of miniperl during the build. Targets which
|
|
|
|
# are built using these macros should depend on \$(MINIPERL_EXE)
|
|
|
|
MINIPERL_EXE = miniperl\$(EXE_EXT)
|
|
|
|
-MINIPERL = \$(LDLIBPTH) ./miniperl\$(EXE_EXT) -Ilib
|
|
|
|
+MINIPERL = \$(LDLIBPTH) ./miniperl\$(EXE_EXT) -Ilib -I.
|
|
|
|
|
|
|
|
# Macros to invoke sort the MANIFEST during build
|
|
|
|
MANIFEST_SRT = MANIFEST.srt
|
2024-06-18 07:43:33 +08:00
|
|
|
@@ -1001,7 +1001,7 @@ lib/buildcustomize.pl: $& $(miniperl_obj
|
2017-09-25 07:39:27 +08:00
|
|
|
@$(RMS) miniperl.xok
|
|
|
|
$(CC) $(CLDFLAGS) $(NAMESPACEFLAGS) -o $(MINIPERL_EXE) \
|
|
|
|
$(miniperl_objs) $(libs)
|
|
|
|
- $(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'
|
|
|
|
+ $(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'
|
|
|
|
$(MINIPERL) -f write_buildcustomize.pl
|
|
|
|
!NO!SUBS!
|
|
|
|
;;
|
2024-06-18 07:43:33 +08:00
|
|
|
@@ -1012,7 +1012,7 @@ lib/buildcustomize.pl: \$& \$(miniperl_d
|
2017-09-25 07:39:27 +08:00
|
|
|
@\$(RMS) miniperl.xok
|
|
|
|
@\$(RMS) \$(MINIPERL_EXE)
|
|
|
|
\$(LNS) \$(HOST_PERL) \$(MINIPERL_EXE)
|
|
|
|
- \$(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'
|
|
|
|
+ \$(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'
|
|
|
|
\$(MINIPERL) -f write_buildcustomize.pl 'osname' "$osname"
|
|
|
|
!GROK!THIS!
|
|
|
|
else
|
2024-06-18 07:43:33 +08:00
|
|
|
@@ -1021,7 +1021,7 @@ lib/buildcustomize.pl: $& $(miniperl_dep
|
2017-09-25 07:39:27 +08:00
|
|
|
@$(RMS) miniperl.xok
|
|
|
|
$(CC) $(CLDFLAGS) -o $(MINIPERL_EXE) \
|
|
|
|
$(miniperl_objs) $(libs)
|
|
|
|
- $(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'
|
|
|
|
+ $(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'
|
|
|
|
$(MINIPERL) -f write_buildcustomize.pl
|
|
|
|
!NO!SUBS!
|
|
|
|
fi
|