mirror of https://github.com/encounter/SDL.git
Fixed macOS framework detection in sdl2.m4
Fixes https://github.com/libsdl-org/SDL/issues/6141
This commit is contained in:
parent
f6c2c22d38
commit
3d516b841a
4
sdl2.m4
4
sdl2.m4
|
@ -70,8 +70,8 @@ AC_ARG_VAR(SDL2_FRAMEWORK, [Path to SDL2.framework])
|
||||||
sdl_framework=$SDL2_FRAMEWORK
|
sdl_framework=$SDL2_FRAMEWORK
|
||||||
else
|
else
|
||||||
for d in / ~/ /System/; do
|
for d in / ~/ /System/; do
|
||||||
if test -d "$dLibrary/Frameworks/SDL2.framework"; then
|
if test -d "${d}Library/Frameworks/SDL2.framework"; then
|
||||||
sdl_framework="$dLibrary/Frameworks/SDL2.framework"
|
sdl_framework="${d}Library/Frameworks/SDL2.framework"
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue