Skip to content

Commit

Permalink
Makefile: create .dir files when building Perl extensions
Browse files Browse the repository at this point in the history
  • Loading branch information
pipcet committed Jan 31, 2021
1 parent 39bf32c commit 27f66c0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -618,6 +618,7 @@ built/wasm32/miniperl: build/wasm32/perl/Makefile | install/binfmt_misc/elf32-wa
touch $@

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

0 comments on commit 27f66c0

Please sign in to comment.