mirror of
https://github.com/libretro/RetroArch
synced 2025-02-22 12:40:09 +00:00
qb: Clean up.
This commit is contained in:
parent
243505b7cb
commit
77baa1c930
@ -112,17 +112,14 @@ if [ "$HAVE_ANGLE" = 'yes' ]; then
|
|||||||
add_opt OPENGLES yes
|
add_opt OPENGLES yes
|
||||||
add_define MAKEFILE OPENGLES_LIBS "-lGLESv2"
|
add_define MAKEFILE OPENGLES_LIBS "-lGLESv2"
|
||||||
|
|
||||||
case "$(uname -s)" in
|
case "$PLATFORM_NAME" in
|
||||||
MINGW32* )
|
MINGW32* )
|
||||||
add_dirs LIBRARY ./pkg/windows/x86
|
add_dirs LIBRARY ./pkg/windows/x86
|
||||||
;;
|
;;
|
||||||
MINGW64* )
|
MINGW64* )
|
||||||
add_dirs LIBRARY ./pkg/windows/x86_64
|
add_dirs LIBRARY ./pkg/windows/x86_64
|
||||||
;;
|
;;
|
||||||
*)
|
|
||||||
;;
|
|
||||||
esac
|
esac
|
||||||
|
|
||||||
else
|
else
|
||||||
check_header EGL EGL/egl.h EGL/eglext.h
|
check_header EGL EGL/egl.h EGL/eglext.h
|
||||||
# some systems have EGL libs, but no pkgconfig
|
# some systems have EGL libs, but no pkgconfig
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
PLATFORM_NAME="$(uname -s)"
|
||||||
|
|
||||||
if [ -n "${CROSS_COMPILE:=}" ]; then
|
if [ -n "${CROSS_COMPILE:=}" ]; then
|
||||||
case "$CROSS_COMPILE" in
|
case "$CROSS_COMPILE" in
|
||||||
*'-mingw32'*) OS='Win32';;
|
*'-mingw32'*) OS='Win32';;
|
||||||
@ -7,7 +9,7 @@ if [ -n "${CROSS_COMPILE:=}" ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -z "$CROSS_COMPILE" ] || [ -z "$OS" ]; then
|
if [ -z "$CROSS_COMPILE" ] || [ -z "$OS" ]; then
|
||||||
case "$(uname)" in
|
case "$PLATFORM_NAME" in
|
||||||
'Linux') OS='Linux';;
|
'Linux') OS='Linux';;
|
||||||
*'BSD') OS='BSD';;
|
*'BSD') OS='BSD';;
|
||||||
'Darwin') OS='Darwin';;
|
'Darwin') OS='Darwin';;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user