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