From efdbd1576f95615ee7eebbea9da58d066a95b128 Mon Sep 17 00:00:00 2001 From: Bananymous Date: Sun, 28 Dec 2025 15:30:02 +0200 Subject: [PATCH] ports/SDL2: disable static lib and enable semaphores Also add libiconv as a dep so SDL_iconv_string etc works --- ports/SDL2/build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ports/SDL2/build.sh b/ports/SDL2/build.sh index b766104f..9eccd77a 100755 --- a/ports/SDL2/build.sh +++ b/ports/SDL2/build.sh @@ -3,7 +3,7 @@ NAME='SDL2' VERSION='2.32.8' DOWNLOAD_URL="https://github.com/libsdl-org/SDL/releases/download/release-$VERSION/SDL2-$VERSION.tar.gz#0ca83e9c9b31e18288c7ec811108e58bac1f1bb5ec6577ad386830eac51c787e" -DEPENDENCIES=('mesa') +DEPENDENCIES=('mesa' 'libiconv') configure() { $BANAN_CMAKE --fresh -S . -B build -G Ninja \ @@ -11,7 +11,7 @@ configure() { -DCMAKE_INSTALL_PREFIX='/usr' \ -DCMAKE_BUILD_TYPE=Release \ -DSDL_LIBSAMPLERATE=OFF \ - -DSDL_PTHREADS_SEM=OFF \ + -DSDL_STATIC=OFF \ || exit 1 }