Skip to content

Commit fdf423c

Browse files
committed
external_deps: don't munge SDL config
The build script for mingw sdl2 uses prebuilt binaries, but calls a makefile which only substitutes some hard-coded paths into some build config helpers and copies the files. Just copy the files ourselves and don't munge the configs: the unmunged cmake uses a relative path which is actually what we want. In newer SDL versions the makefile munges the cmake configs (in addition to the shell-based one) which breaks us.
1 parent 9ba5f11 commit fdf423c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

external_deps/build.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@ build_sdl2() {
341341
case "${PLATFORM}" in
342342
windows-*-mingw)
343343
cd "${dir_name}"
344-
make install-package arch="${HOST}" prefix="${PREFIX}"
344+
cp -rv "${HOST}"/* "${PREFIX}/"
345345
;;
346346
windows-*-msvc)
347347
cd "${dir_name}"

0 commit comments

Comments
 (0)