]> git.xonotic.org Git - xonotic/xonotic.git/commitdiff
Add missing dependency for sdl compilation under mingw32
authorterencehill <piuntn@gmail.com>
Mon, 24 Mar 2014 14:04:28 +0000 (15:04 +0100)
committerterencehill <piuntn@gmail.com>
Mon, 24 Mar 2014 14:04:28 +0000 (15:04 +0100)
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"
                                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"
                                                ;;
                                        agl)
                                                TARGETS="$TARGETS cl-$debug"