]> git.xonotic.org Git - xonotic/xonotic.git/blobdiff - all
try forcing the mingw target on win32
[xonotic/xonotic.git] / all
diff --git a/all b/all
index cf7e101d3472e7fd9cf697583f5b1994d7173508..6684d2bd72ee5df001feeacf634d5b41c73aebd3 100755 (executable)
--- a/all
+++ b/all
@@ -113,6 +113,7 @@ data/xonotic-data.pk3dir      |
 data/xonotic-maps.pk3dir      |                                                   | master
 data/xonotic-music.pk3dir     |                                                   | master
 data/xonotic-nexcompat.pk3dir |                                                   | master
+mediasource                   |                                                   | master
 darkplaces                    |                                                   | div0-stable
 fteqcc                        | git://github.com/Blub/qclib.git                   | master
 div0-gittools                 | git://git.icculus.org/divverent/div0-gittools.git | master
@@ -129,7 +130,14 @@ repourl()
 {
        t=`echo "$repos_urls" | grep "^$1 " | cut -d '|' -f 2 | tr -d ' '`
        if [ -n "$t" ]; then
-               echo "$t"
+               case "$t" in
+                       *://*)
+                               echo "$t"
+                               ;;
+                       *)
+                               echo "$base$t"
+                               ;;
+               esac
        else
                if [ x"$1" = x"." ]; then
                        echo "$base""xonotic.git"
@@ -440,6 +448,9 @@ case "$cmd" in
                                        MAKEFLAGS="$MAKEFLAGS DP_LINK_TO_LIBJPEG=1"
                                        ;;
                        esac
+                       if [ -n "$WE_HATE_OUR_USERS" ]; then
+                               MAKEFLAGS="$MAKEFLAGS DP_MAKE_TARGET=mingw"
+                       fi
                fi
                enter "$d0/fteqcc" verbose
                if $clean; then