From 5224cc37e06758e06597b4a44d18b9f9bbb6bbb2 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Sun, 5 May 2013 18:09:42 +0200 Subject: [PATCH] libretro-build.sh builds Dosbox now as well --- libretro-build.sh | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/libretro-build.sh b/libretro-build.sh index e28cbdc0..3667153f 100755 --- a/libretro-build.sh +++ b/libretro-build.sh @@ -367,6 +367,20 @@ build_libretro_tyrquake() fi } +build_libretro_dosbox() +{ + cd $BASE_DIR + if [ -d "libretro-dosbox" ]; then + echo "=== Building DOSbox ===" + cd libretro-dosbox + make -f Makefile.libretro -j$JOBS clean || die "Failed to clean DOSbox" + make -f Makefile.libretro -j$JOBS || die "Failed to build DOSbox" + cp dosbox_libretro.so "$RARCH_DIST_DIR"/libretro-dosbox.so + else + echo "DOSbox not fetched, skipping ..." + fi +} + mkdir -p "$RARCH_DIST_DIR" if [ $1 ]; then @@ -392,4 +406,5 @@ else build_libretro_tyrquake build_libretro_pcsx_rearmed build_libretro_mame078 + build_libretro_dosbox fi