libretro.mame: fix parallel building

This commit is contained in:
Orivej Desh 2017-11-29 10:53:01 +00:00
parent 11520e812c
commit 4cbbecc85d

View file

@ -204,7 +204,7 @@ in
description = "Enhanced Genesis Plus libretro port";
};
mame = mkLibRetroCore {
mame = (mkLibRetroCore {
core = "mame";
src = fetchRetro {
repo = "mame";
@ -214,6 +214,12 @@ in
description = "Port of MAME to libretro";
extraBuildInputs = [ alsaLib mesa portaudio python27 xorg.libX11 ];
}).override {
postPatch = ''
# Prevent the failure during the parallel building of:
# make -C 3rdparty/genie/build/gmake.linux -f genie.make obj/Release/src/host/lua-5.3.0/src/lgc.o
mkdir -p 3rdparty/genie/build/gmake.linux/obj/Release/src/host/lua-5.3.0/src
'';
};
mgba = mkLibRetroCore rec {