Skip to content

Commit

Permalink
put correct libpath in perl6-m runner
Browse files Browse the repository at this point in the history
  • Loading branch information
FROGGS committed Nov 29, 2013
1 parent 66bf730 commit e0d6ad3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tools/build/Makefile-Moar.in
Expand Up @@ -10,8 +10,9 @@ M_GEN_CAT = tools/build/gen-cat.pl moar
PREFIX = @prefix@
MOAR = $(PREFIX)@slash@bin@slash@moar@exe@
M_NQP = $(PREFIX)@slash@bin@slash@nqp-m@runner_suffix@
M_LIBPATH = "$(PREFIX)@slash@languages@slash@nqp@slash@lib"

M_RUN_PERL6 = $(MOAR) --libpath="$(PREFIX)@slash@languages@slash@nqp@slash@lib" perl6.moarvm
M_RUN_PERL6 = $(MOAR) --libpath=$(M_LIBPATH) perl6.moarvm

M_RUNNER = perl6-m@runner_suffix@

Expand Down Expand Up @@ -251,7 +252,7 @@ $(SETTING_MOAR): $(PERL6_MOAR) $(PERL6_B_MOAR) $(M_CORE_SOURCES)
$(M_RUN_PERL6) --setting=NULL --optimize=3 --target=mbc --stagestats --output=$(SETTING_MOAR) src/gen/m-CORE.setting

$(M_RUNNER): tools/build/gen-moar-runner.pl $(PERL6_MOAR)
$(PERL) tools/build/gen-moar-runner.pl $(MOAR) .
$(PERL) tools/build/gen-moar-runner.pl $(MOAR) $(M_LIBPATH)

## testing targets
blib/Test.moarvm: lib/Test.pm $(PERL6_MOAR) $(SETTING_MOAR) $(M_RUNNER)
Expand Down

0 comments on commit e0d6ad3

Please sign in to comment.