Skip to content

Commit

Permalink
Makefile: minor Perl hack
Browse files Browse the repository at this point in the history
  • Loading branch information
pipcet committed Feb 3, 2021
1 parent 850eeb0 commit 776b211
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -619,8 +619,8 @@ built/wasm32/miniperl: build/wasm32/perl/Makefile | install/binfmt_misc/elf32-wa

built/wasm32/perl: built/wasm32/miniperl build/wasm32/perl/Makefile | install/binfmt_misc/elf32-wasm32
(cd build/wasm32/perl; find -type d | while read REPLY; do touch $$REPLY/.dir; done)
PATH=$(PWD)/wasm32-unknown-none/bin:$$PATH $(MAKE) -C build/wasm32/perl < /dev/null
cp build/wasm32/perl/perl wasm32-unknown-none/wasm32-unknown-none/bin/miniperl
PERL_CORE=1 PATH=$(PWD)/wasm32-unknown-none/bin:$$PATH $(MAKE) -C build/wasm32/perl < /dev/null
PERL_CORE=1 PATH=$(PWD)/wasm32-unknown-none/bin:$$PATH $(MAKE) install -C build/wasm32/perl < /dev/null
touch $@

# Actually building a package and installing it: make && make install, plus package-specific workarounds.
Expand Down

0 comments on commit 776b211

Please sign in to comment.