Add missing dependency for sdl compilation under mingw32
[xonotic/xonotic.git] / misc / tools / all / xonotic.subr
index 96a82a3007cd8406e021940a4bb0fb0b5114b919..f24a051229f249b9e4c2c9ecfa38fb0de2d2bd04 100644 (file)
@@ -105,6 +105,9 @@ case "$cmd" in
                                case "$X" in
                                        sdl)
                                                TARGETS="$TARGETS sdl-$debug"
+                                               if [ -n "$WE_HATE_OUR_USERS" ]; then
+                                                       export PATH="$PATH:$d0/misc/builddeps/win32/sdl/bin"
+                                               fi
                                                ;;
                                        agl)
                                                TARGETS="$TARGETS cl-$debug"