Skip to content

Commit 194665a

Browse files
committed
external_deps: remove the SDL workaround for missing bin folder
1 parent a372256 commit 194665a

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
@@ -477,12 +477,6 @@ build_sdl3() {
477477
cmake_build \
478478
-DSDL_TEST_LIBRARY=OFF \
479479
-DSDL_AUDIO=OFF
480-
481-
# Workaround for an SDL CMake bug, we need to provide
482-
# a bin/ directory even when nothing is used from it.
483-
mkdir -p "${PREFIX}/bin"
484-
# We don't keep empty folders.
485-
touch "${PREFIX}/bin/.keep"
486480
;;
487481
esac
488482
}
@@ -1199,7 +1193,7 @@ build_install() {
11991193
rm -rf "${PKG_PREFIX}/def"
12001194
rm -rf "${PKG_PREFIX}/share"
12011195
rm -rf "${PKG_PREFIX}/lib/pkgconfig"
1202-
find "${PKG_PREFIX}/bin" -not -type d -not -name '*.dll' -not -name '.keep' -execdir rm -f -- {} \;
1196+
find "${PKG_PREFIX}/bin" -not -type d -not -name '*.dll' -not -execdir rm -f -- {} \;
12031197
find "${PKG_PREFIX}/lib" -name '*.la' -execdir rm -f -- {} \;
12041198
find "${PKG_PREFIX}/lib" -name '*.dll.a' -execdir bash -c 'rm -f -- "$(basename "{}" .dll.a).a"' \;
12051199
find "${PKG_PREFIX}/lib" -name '*.dylib' -execdir bash -c 'rm -f -- "$(basename "{}" .dylib).a"' \;

0 commit comments

Comments
 (0)