diff --git a/Makefile b/Makefile index 004e8c3..e1524ae 100644 --- a/Makefile +++ b/Makefile @@ -379,7 +379,7 @@ $(LUA_A): make linux -C $(3RD_PARTY)/lua-5.3.1/ $(SDL2_A): - cd $(3RD_PARTY)/SDL2-2.0.7/ && ./configure && make && cd ../.. + cd $(3RD_PARTY)/SDL2-2.0.7/ && ./configure --enable-sndio=no && make && cd ../.. linux: $(WREN_A) $(SDLGPU_A) $(LUA_A) $(SDL2_A) $(CC) $(LINUX_INCLUDES) $(SOURCES) $(SYSTEM) $(LPEG_SRC) $(GIF_SRC) $(SOURCES_EXT) $(TIC80_SRC) $(OPT) $(INCLUDES) $(LINUX_LIBS) $(LINUX_LINKER_FLAGS) -o $(BIN_NAME) diff --git a/build.sh b/build.sh index 57bf17f..ecb9d11 100755 --- a/build.sh +++ b/build.sh @@ -11,8 +11,8 @@ options=("dependencies" "linux" "linux32-lto" "linux64-lto" "emscripten" "wasm" select opt in "${options[@]}" do case $opt in - "dependencies") - 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 + "install packages") + 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 libsndio-dev -y ;; "linux") make linux