File tree Expand file tree Collapse file tree 3 files changed +11
-0
lines changed Expand file tree Collapse file tree 3 files changed +11
-0
lines changed Original file line number Diff line number Diff line change 142
142
}
143
143
144
144
fill_template_file(' tools/build/Makefile-Parrot.in' , ' Makefile' , %config );
145
+ fill_template_file(' src/vm/parrot/nqp.sh' , ' gen/parrot/nqp_launcher' , %config );
146
+ chmod 0755, ' gen/parrot/nqp_launcher' ;
145
147
146
148
{
147
149
no warnings;
Original file line number Diff line number Diff line change
1
+ #! /bin/sh
2
+ @@bindir@@/parrot@@exe@@ -L. -X. --library=gen/parrot gen/parrot/nqp.pbc \
3
+ --module-path=gen/parrot --setting-path=gen/parrot " $@ "
4
+
Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ PARROT_SRC_DIR = @@srcdir@@$(PARROT_VERSION)
14
14
PARROT_LIBRARY_DIR = $(PARROT_LIB_DIR)/library
15
15
NQP_LANG_DIR = $(PARROT_LIB_DIR)/languages/nqp
16
16
HAS_ICU = @has_icu@
17
+ NQP_LAUNCHER = ./nqp
17
18
18
19
PARROT_BUILD_DIR = gen/parrot
19
20
@@ -770,6 +771,10 @@ $(ALL_PBCS): $(STAGE2_PBCS)
770
771
$(CP) $(STAGE2)/$(P6QREGEX_PBC) $(PARROT_BUILD_DIR)
771
772
$(CP) $(STAGE2)/$(NQP_PBC) $(PARROT_BUILD_DIR)
772
773
774
+ $(NQP_LAUNCHER): $(PARROT_BUILD_DIR)/$(NQP_EXE) gen/parrot/nqp_launcher
775
+ $(CP) gen/parrot/nqp_launcher $(NQP_LAUNCHER)
776
+ $(CHMOD) 755 $(NQP_LAUNCHER)
777
+
773
778
$(PARROT_BUILD_DIR)/$(NQP_EXE): $(PARROT_BUILD_DIR)/$(NQP_PBC) $(PARROT_DLL_COPY)
774
779
cd $(PARROT_BUILD_DIR) && $(PBC_TO_EXE) -o$(NQP_EXE) $(NQP_PBC)
775
780
You can’t perform that action at this time.
0 commit comments