Skip to content

Commit 1cbf19e

Browse files
wsldankersccxvii
authored andcommitted
Makefile: fix parallel builds
The parent directory wasn't created when generating the .pc file, causing it to fail in highly parallel builds.
1 parent 3451b6c commit 1cbf19e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@ $(OUT)/mujs-pp: $(OUT)/libmujs.o $(OUT)/pp.o
100100

101101
.PHONY: $(OUT)/mujs.pc
102102
$(OUT)/mujs.pc:
103+
@ mkdir -p $(dir $@)
103104
@ echo Creating $@
104105
@ echo > $@ Name: mujs
105106
@ echo >> $@ Description: MuJS embeddable Javascript interpreter

0 commit comments

Comments
 (0)