ports/SDL2: disable static lib and enable semaphores
Also add libiconv as a dep so SDL_iconv_string etc works
This commit is contained in:
parent
0421fbdc25
commit
efdbd1576f
|
|
@ -3,7 +3,7 @@
|
||||||
NAME='SDL2'
|
NAME='SDL2'
|
||||||
VERSION='2.32.8'
|
VERSION='2.32.8'
|
||||||
DOWNLOAD_URL="https://github.com/libsdl-org/SDL/releases/download/release-$VERSION/SDL2-$VERSION.tar.gz#0ca83e9c9b31e18288c7ec811108e58bac1f1bb5ec6577ad386830eac51c787e"
|
DOWNLOAD_URL="https://github.com/libsdl-org/SDL/releases/download/release-$VERSION/SDL2-$VERSION.tar.gz#0ca83e9c9b31e18288c7ec811108e58bac1f1bb5ec6577ad386830eac51c787e"
|
||||||
DEPENDENCIES=('mesa')
|
DEPENDENCIES=('mesa' 'libiconv')
|
||||||
|
|
||||||
configure() {
|
configure() {
|
||||||
$BANAN_CMAKE --fresh -S . -B build -G Ninja \
|
$BANAN_CMAKE --fresh -S . -B build -G Ninja \
|
||||||
|
|
@ -11,7 +11,7 @@ configure() {
|
||||||
-DCMAKE_INSTALL_PREFIX='/usr' \
|
-DCMAKE_INSTALL_PREFIX='/usr' \
|
||||||
-DCMAKE_BUILD_TYPE=Release \
|
-DCMAKE_BUILD_TYPE=Release \
|
||||||
-DSDL_LIBSAMPLERATE=OFF \
|
-DSDL_LIBSAMPLERATE=OFF \
|
||||||
-DSDL_PTHREADS_SEM=OFF \
|
-DSDL_STATIC=OFF \
|
||||||
|| exit 1
|
|| exit 1
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue