-
-
Save niner/b71ecb3b0a02a0212e4b8109ad66ef16 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/Configure.pl b/Configure.pl | |
index e93de0109..6a52e296c 100755 | |
--- a/Configure.pl | |
+++ b/Configure.pl | |
@@ -142,6 +142,7 @@ MAIN: { | |
$config{'cpsep'} = $win ? ';' : ':'; | |
$config{'shell'} = $win ? 'cmd' : 'sh'; | |
$config{'runner_suffix'} = $win ? '.bat' : ''; | |
+ $config{'nqp_blib'} = $win ? 'SET NQP_LIB=blib ;' : 'NQP_LIB=blib'; | |
my $make = 'make'; | |
if ($^O eq 'solaris') { | |
diff --git a/tools/build/Makefile-JVM.in b/tools/build/Makefile-JVM.in | |
index e62484855..a55911118 100644 | |
--- a/tools/build/Makefile-JVM.in | |
+++ b/tools/build/Makefile-JVM.in | |
@@ -147,12 +147,12 @@ $(PERL6_B_JAR): $(BOOTSTRAP_SOURCES) $(PERL6_M_JAR) | |
$(SETTING_JAR): $(PERL6_JAR) $(PERL6_B_JAR) $(J_CORE_SOURCES) | |
$(J_NQP) $(J_GEN_CAT) -f tools/build/jvm_core_sources > $(J_BUILD_DIR)/CORE.setting | |
@echo "The following step can take a long time, please be patient." | |
- NQP_LIB=blib $(J_RUN_PERL6) --setting=NULL --ll-exception --optimize=3 --target=jar --stagestats --output=$(SETTING_JAR) --nqp-lib=blib $(J_BUILD_DIR)/CORE.setting | |
+ @nqp_blib@ $(J_RUN_PERL6) --setting=NULL --ll-exception --optimize=3 --target=jar --stagestats --output=$(SETTING_JAR) --nqp-lib=blib $(J_BUILD_DIR)/CORE.setting | |
$(SETTING_D_JAR): $(PERL6_JAR) $(PERL6_B_JAR) $(SETTING_JAR) $(J_CORE_SOURCES) | |
$(J_NQP) $(J_GEN_CAT) $(J_CORE_D_SOURCES) > $(J_BUILD_DIR)/CORE.d.setting | |
@echo "The following step can take a long time, please be patient." | |
- NQP_LIB=blib $(J_RUN_PERL6) --ll-exception --optimize=3 --target=jar --stagestats --output=$(SETTING_D_JAR) --nqp-lib=blib $(J_BUILD_DIR)/CORE.d.setting | |
+ @nqp_blib@ $(J_RUN_PERL6) --ll-exception --optimize=3 --target=jar --stagestats --output=$(SETTING_D_JAR) --nqp-lib=blib $(J_BUILD_DIR)/CORE.d.setting | |
$(J_RUNNER): tools/build/create-jvm-runner.pl | |
$(PERL5) tools/build/create-jvm-runner.pl dev . . $(NQP_PREFIX) --nqp-lib=blib $(NQP_JARS) | |
diff --git a/tools/build/Makefile-Moar.in b/tools/build/Makefile-Moar.in | |
index cfc6b8233..0594a6cfc 100644 | |
--- a/tools/build/Makefile-Moar.in | |
+++ b/tools/build/Makefile-Moar.in | |
@@ -15,7 +15,7 @@ M_LIBPATH = $(LIBDIR)@slash@nqp@slash@lib | |
M_INCPATH = $(MOAR_PREFIX)@slash@include | |
NQP_LIBPATH = @nqp::libdir@ | |
-M_RUN_PERL6 = NQP_LIB=blib $(MOAR) --libpath="$(M_LIBPATH)" --libpath="$(NQP_LIBPATH)" perl6.moarvm --nqp-lib=blib | |
+M_RUN_PERL6 = @nqp_blib@ $(MOAR) --libpath="$(M_LIBPATH)" --libpath="$(NQP_LIBPATH)" perl6.moarvm --nqp-lib=blib | |
M_BAT = @runner_suffix@ | |
M_RUNNER = perl6-m@runner_suffix@ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment