shithub: libmujs

Download patch

ref: 1cbf19e7a950b965a8310ce09baae87c7f622ee8
parent: 3451b6ca9632b2146eb30164eae764921d8025b6
author: Wessel Dankers <wsl@fruit.je>
date: Thu Mar 31 10:21:07 EDT 2022

Makefile: fix parallel builds

The parent directory wasn't created when generating the .pc file,
causing it to fail in highly parallel builds.

--- a/Makefile
+++ b/Makefile
@@ -100,6 +100,7 @@
 
 .PHONY: $(OUT)/mujs.pc
 $(OUT)/mujs.pc:
+	@ mkdir -p $(dir $@)
 	@ echo Creating $@
 	@ echo > $@ Name: mujs
 	@ echo >> $@ Description: MuJS embeddable Javascript interpreter