From 67b3092b2d20736e85cbd3a50068981ecb31592f Mon Sep 17 00:00:00 2001 From: twinaphex Date: Mon, 11 Aug 2014 06:56:44 +0200 Subject: [PATCH] Fix qb/config.libs.sh and qb/config.params.sh so that SDL2 gets detected --- qb/config.libs.sh | 3 +-- qb/config.params.sh | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/qb/config.libs.sh b/qb/config.libs.sh index 1680d94d90..4c602f7364 100644 --- a/qb/config.libs.sh +++ b/qb/config.libs.sh @@ -159,10 +159,9 @@ check_pkgconf PULSE libpulse check_lib COREAUDIO "-framework AudioUnit" AudioUnitInitialize check_pkgconf SDL sdl 1.2.10 +check_pkgconf SDL2 sdl2 2.0.0 if [ "$HAVE_SDL2" == 'yes' ]; then - check_pkgconf SDL2 sdl2 2.0.0 - if [ "$HAVE_SDL2" == 'yes' ] && [ "$HAVE_SDL" == 'yes' ]; then echo "SDL drivers will be replaced by SDL2 ones." HAVE_SDL=no diff --git a/qb/config.params.sh b/qb/config.params.sh index 57915b8cd8..717af60dc1 100644 --- a/qb/config.params.sh +++ b/qb/config.params.sh @@ -2,7 +2,7 @@ HAVE_RGUI=yes # Disable RGUI HAVE_LAKKA=no # Enable Lakka menu HAVE_DYNAMIC=yes # Disable dynamic loading of libretro library HAVE_SDL=auto # SDL support -HAVE_SDL2=no # SDL2 support (disables SDL 1.x) +HAVE_SDL2=auto # SDL2 support (disables SDL 1.x) HAVE_UDEV=auto # Udev/Evdev gamepad support HAVE_LIBRETRO= # libretro library used HAVE_MAN_DIR= # Manpage install directory