Skip to content

Commit 2359893

Browse files
committed
SDL3: Disable unnecessary X11 dependencies and make it headless when building the workflow
1 parent bc2eb1d commit 2359893

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/stable-compilation.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ jobs:
6464
- name: Build and Install
6565
run: |
6666
cd linux-static
67+
sed -i 's/SDL3_ARGS/SDL3_ARGS -DSDL_UNIX_CONSOLE_BUILD=ON/g' ./2_build_toolchain.sh
6768
./2_build_toolchain.sh
6869
6970
- name: Cleanup

linux-static/2_build_toolchain.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,5 +67,5 @@ install_lib_cmake $FMT_DIR $FMT_ARGS
6767
install_lib $ICU_DIR/source $ICU_ARGS
6868
install_lib_liblcf
6969
install_lib $SDL2_DIR $SDL2_ARGS PULSEAUDIO_CFLAGS=-Ixxxdir PULSEAUDIO_LIBS=-lxxxlib
70-
install_lib_cmake $SDL3_DIR $SDL3_ARGS
70+
install_lib_cmake $SDL3_DIR $SDL3_ARGS -DSDL_X11_XSCRNSAVER=OFF -DSDL_X11_XTEST=OFF
7171
install_lib_cmake $FREEIMAGE_DIR $FREEIMAGE_ARGS

0 commit comments

Comments
 (0)