diff --git a/Makefile b/Makefile index b2b8804..004e8c3 100644 --- a/Makefile +++ b/Makefile @@ -83,7 +83,7 @@ LINUX_LINKER_FLAGS= \ -lz \ -lsdlgpu \ -lGL \ - -lSDL2 + -l:libSDL2.a MINGW_OUTPUT=$(BIN_NAME).exe diff --git a/build.sh b/build.sh index 3714b67..dcc489a 100755 --- a/build.sh +++ b/build.sh @@ -4,5 +4,5 @@ # build script for TIC-80 ########################################################################## -sudo apt-get install build-essential mercurial make cmake autoconf automake libtool libasound2-dev libpulse-dev libaudio-dev libx11-dev libxext-dev libxrandr-dev libxcursor-dev libxi-dev libxinerama-dev libxxf86vm-dev libxss-dev libgl1-mesa-dev libesd0-dev libdbus-1-dev libudev-dev libgles1-mesa-dev libgles2-mesa-dev libegl1-mesa-dev libibus-1.0-dev fcitx-libs-dev libsamplerate0-dev libsndio-dev libgtk-3-dev zlib1g-dev libwayland-dev libxkbcommon-dev wayland-protocols -y +sudo apt-get install build-essential mercurial make cmake autoconf automake libtool libasound2-dev libpulse-dev libaudio-dev libx11-dev libxext-dev libxrandr-dev libxcursor-dev libxi-dev libxinerama-dev libxxf86vm-dev libxss-dev libgl1-mesa-dev libesd0-dev libdbus-1-dev libudev-dev libgles1-mesa-dev libgles2-mesa-dev libegl1-mesa-dev libibus-1.0-dev fcitx-libs-dev libsamplerate0-dev libgtk-3-dev zlib1g-dev libwayland-dev libxkbcommon-dev wayland-protocols -y make linux