diff --git a/config.lib b/config.lib index 33e1b09583..94b240d3c9 100644 --- a/config.lib +++ b/config.lib @@ -2449,7 +2449,7 @@ detect_sdl() { detect_pkg_config "2" "sdl2" "sdl2_config" "2.0" else sdl2_config="" - if [ -x `which sdl2-config` ]; then + if [ -x "`which sdl2-config`" ]; then detect_pkg_config "$with_sdl" "sdl2" "sdl2_config" "2.0" fi if [ -z "$sdl2_config" ]; then