Fix build.

This commit is contained in:
Themaister 2012-11-29 13:28:46 +01:00
parent e36cc22a98
commit a70ccd5b3f

View File

@ -49,10 +49,12 @@ build_libretro_mednafen()
for core in psx pce-fast wswan ngp gba snes vb
do
cd $core
make core=${core} -j4 || die "Failed to build mednafen/${core}"
cp mednafen_$(echo ${core} | tr '[\-]' '[_]')_libretro.so ../libretro-mednafen-${core}.so
cd ..
if [ -d $core ]; then
cd $core
make core=${core} -j4 || die "Failed to build mednafen/${core}"
cp mednafen_$(echo ${core} | tr '[\-]' '[_]')_libretro.so ../libretro-mednafen-${core}.so
cd ..
fi
done
cd ..
else