Skip to content

Commit

Permalink
libretro.mame: fix parallel building
Browse files Browse the repository at this point in the history
  • Loading branch information
orivej committed Nov 29, 2017
1 parent 11520e8 commit 4cbbecc
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion pkgs/misc/emulators/retroarch/cores.nix
Expand Up @@ -204,7 +204,7 @@ in
description = "Enhanced Genesis Plus libretro port";
};

mame = mkLibRetroCore {
mame = (mkLibRetroCore {
core = "mame";
src = fetchRetro {
repo = "mame";
Expand All @@ -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 {
Expand Down

0 comments on commit 4cbbecc

Please sign in to comment.