From 4e9ae1efb89c41926713a6193bda8cbd17d1573a Mon Sep 17 00:00:00 2001 From: Martin Eesmaa Date: Fri, 23 Dec 2022 22:01:09 +1100 Subject: [PATCH] fix sdl mingw build script --- FFMPEGMINGW.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/FFMPEGMINGW.sh b/FFMPEGMINGW.sh index 37891fc..95f9960 100644 --- a/FFMPEGMINGW.sh +++ b/FFMPEGMINGW.sh @@ -27,8 +27,8 @@ cd .. echo Starting to build sdl2: cd SDL -./configure --enable-static --disable-shared --prefix=$MSYSTEM_PREFIX && make install -j $nproc -cd .. +mkdir build && cd build && cmake -DCMAKE_EXE_LINKER_FLAGS="-static" -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=$MSYSTEM_PREFIX .. -G "MinGW Makefiles" && cmake --build . --target install -j $nproc +cd ../../ echo Starting to build libopus to improve decode quality on FFmpeg: cd opus