Skip to content

Commit

Permalink
SRB2: add gcc-c++ for Fedora
Browse files Browse the repository at this point in the history
  • Loading branch information
cobalt2727 committed Jun 4, 2024
1 parent c479469 commit 54fdc93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/games_and_emulators/SRB2.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Raspbian | Debian | Ubuntu)
sudo apt install gcc g++ wget libsdl2-dev libsdl2-mixer-dev cmake extra-cmake-modules subversion libupnp-dev libgme-dev libopenmpt-dev curl libcurl4-gnutls-dev libpng-dev freepats libgles2-mesa-dev -y || error "Dependency installs failed"
;;
Fedora)
sudo dnf install -y wget cmake gcc unzip git git-lfs SDL2-devel SDL2_mixer-devel libcurl-devel libopenmpt-devel game-music-emu-devel libpng-devel zlib-devel || error "Dependency installs failed"
sudo dnf install -y wget cmake gcc gcc-c++ unzip git git-lfs SDL2-devel SDL2_mixer-devel libcurl-devel libopenmpt-devel game-music-emu-devel libpng-devel zlib-devel || error "Dependency installs failed"
;;
*)
echo -e "\\e[91mUnknown distro detected - this script should work, but please press Ctrl+C now and install necessary dependencies yourself following https://wiki.srb2.org/wiki/Source_code_compiling/CMake if you haven't already...\\e[39m"
Expand Down

0 comments on commit 54fdc93

Please sign in to comment.