Skip to content

Commit

Permalink
Fixed macOS framework detection in sdl2.m4
Browse files Browse the repository at this point in the history
Fixes #6141
  • Loading branch information
slouken committed Aug 26, 2022
1 parent f6c2c22 commit 3d516b8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sdl2.m4
Expand Up @@ -70,8 +70,8 @@ AC_ARG_VAR(SDL2_FRAMEWORK, [Path to SDL2.framework])
sdl_framework=$SDL2_FRAMEWORK
else
for d in / ~/ /System/; do
if test -d "$dLibrary/Frameworks/SDL2.framework"; then
sdl_framework="$dLibrary/Frameworks/SDL2.framework"
if test -d "${d}Library/Frameworks/SDL2.framework"; then
sdl_framework="${d}Library/Frameworks/SDL2.framework"
fi
done
fi
Expand Down

0 comments on commit 3d516b8

Please sign in to comment.