Skip to content

Commit ff61bd8

Browse files
committed
external_deps: remove the SDL workaround for missing bin/ folder
1 parent c629b5e commit ff61bd8

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

external_deps/build.sh

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -480,12 +480,6 @@ build_sdl3() {
480480
cmake_build \
481481
-DSDL_TEST_LIBRARY=OFF \
482482
-DSDL_AUDIO=OFF
483-
484-
# Workaround for an SDL CMake bug, we need to provide
485-
# a bin/ directory even when nothing is used from it.
486-
mkdir -p "${PREFIX}/bin"
487-
# We don't keep empty folders.
488-
touch "${PREFIX}/bin/.keep"
489483
;;
490484
esac
491485
}
@@ -1204,7 +1198,7 @@ build_install() {
12041198
rm -rf "${PKG_PREFIX}/def"
12051199
rm -rf "${PKG_PREFIX}/share"
12061200
rm -rf "${PKG_PREFIX}/lib/pkgconfig"
1207-
find "${PKG_PREFIX}/bin" -not -type d -not -name '*.dll' -not -name '.keep' -execdir rm -f -- {} \;
1201+
find "${PKG_PREFIX}/bin" -not -type d -not -name '*.dll' -not -execdir rm -f -- {} \;
12081202
find "${PKG_PREFIX}/lib" -name '*.la' -execdir rm -f -- {} \;
12091203
find "${PKG_PREFIX}/lib" -name '*.dll.a' -execdir bash -c 'rm -f -- "$(basename "{}" .dll.a).a"' \;
12101204
find "${PKG_PREFIX}/lib" -name '*.dylib' -execdir bash -c 'rm -f -- "$(basename "{}" .dylib).a"' \;

0 commit comments

Comments
 (0)