build: fix Linux builds missing XRandR support

Resolves #2382.
This commit is contained in:
Marcin Kurczewski 2025-02-01 02:25:23 +01:00
parent 4b91ef14da
commit 1c16b6ed9d
2 changed files with 4 additions and 0 deletions

View file

@ -82,6 +82,7 @@ RUN apt-get install -y \
libwayland-egl1 \
automake \
gcc \
libxrandr-dev \
libxext-dev
RUN cd SDL \
&& aclocal -I acinclude \
@ -90,6 +91,7 @@ RUN cd SDL \
&& cd sdl_build \
&& ../configure \
--prefix=/ext/ \
--enable-video-x11-xrandr \
--enable-shared \
--enable-static \
&& make -j 4 \

View file

@ -82,6 +82,7 @@ RUN apt-get install -y \
libwayland-egl1 \
automake \
gcc \
libxrandr-dev \
libxext-dev
RUN cd SDL \
&& aclocal -I acinclude \
@ -90,6 +91,7 @@ RUN cd SDL \
&& cd sdl_build \
&& ../configure \
--prefix=/ext/ \
--enable-video-x11-xrandr \
--enable-shared \
--enable-static \
&& make -j 4 \