Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 5860e20

Browse files
committedNov 18, 2024·
fix SDL2 windows build, even with older package it didn't worked???
1 parent 608ea49 commit 5860e20

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed
 

Diff for: ‎external_deps/build.sh

+7
Original file line numberDiff line numberDiff line change
@@ -1140,6 +1140,13 @@ build_install() {
11401140
;;
11411141
esac
11421142

1143+
case "${PLATFORM}" in
1144+
windows-*-*)
1145+
# CMake looks for libSDL2.a and aborts if missing if this file exists:
1146+
rm -rf "${PKG_PREFIX}/lib/cmake/SDL2/SDL2staticTargets.cmake"
1147+
;;
1148+
esac
1149+
11431150
# Remove empty directories
11441151
find "${PKG_PREFIX}/" -mindepth 1 -type d -empty -delete
11451152
}

0 commit comments

Comments
 (0)
Please sign in to comment.