]> git.rm.cloudns.org Git - xonotic/xonotic.git/commitdiff
Add some quotes in the build scripts Melanosuchus/osx
authorMattia Basaglia <mattia.basaglia@gmail.com>
Mon, 10 Aug 2015 20:12:55 +0000 (22:12 +0200)
committerMattia Basaglia <mattia.basaglia@gmail.com>
Mon, 10 Aug 2015 20:12:55 +0000 (22:12 +0200)
misc/tools/all/xonotic.subr

index 6f66d62e76048a755f8ca3afe7e8e4ac1e08311f..97f68667b7b7450921d2fc4460263249f5040b54 100644 (file)
@@ -131,7 +131,7 @@ case "$cmd" in
 
                if [ -n "$WE_HATE_OUR_USERS" ]; then
                        # win32: use SDL2
-                       MAKEFLAGS="$MAKEFLAGS SDL_CONFIG=$d0/misc/builddeps/win32/sdl/bin/sdl2-config"
+                       MAKEFLAGS="$MAKEFLAGS \"SDL_CONFIG=$d0/misc/builddeps/win32/sdl/bin/sdl2-config\""
 
                        # win32: don't rely on jpeg includes
                        MAKEFLAGS="$MAKEFLAGS LIB_JPEG= CFLAGS_LIBJPEG="
@@ -140,7 +140,7 @@ case "$cmd" in
                if [ x"`uname`" = x"Darwin" ]; then
                        # osx: use SDL2
                        f=$d0/misc/buildfiles/osx/Xonotic.app/Contents/Frameworks
-                       MAKEFLAGS="$MAKEFLAGS SDLCONFIG_MACOSXCFLAGS=-I$f/SDL2.framework/Headers SDLCONFIG_MACOSXLIBS=-F$f SDLCONFIG_MACOSXLIBS+=-framework SDLCONFIG_MACOSXLIBS+=SDL2 SDLCONFIG_MACOSXLIBS+=-framework SDLCONFIG_MACOSXLIBS+=Cocoa SDLCONFIG_MACOSXLIBS+=-I$f/SDL2.framework/Headers SDLCONFIG_MACOSXSTATICLIBS=-F$f SDLCONFIG_MACOSXSTATICLIBS+=-framework SDLCONFIG_MACOSXSTATICLIBS+=SDL2 SDLCONFIG_MACOSXSTATICLIBS+=-framework SDLCONFIG_MACOSXSTATICLIBS+=Cocoa SDLCONFIG_MACOSXSTATICLIBS+=-I$f/SDL2.framework/Headers"
+                       MAKEFLAGS="$MAKEFLAGS \"SDLCONFIG_MACOSXCFLAGS=-I$f/SDL2.framework/Headers\" \"SDLCONFIG_MACOSXLIBS=-F$f\" SDLCONFIG_MACOSXLIBS+=-framework SDLCONFIG_MACOSXLIBS+=SDL2 SDLCONFIG_MACOSXLIBS+=-framework SDLCONFIG_MACOSXLIBS+=Cocoa \"SDLCONFIG_MACOSXLIBS+=-I$f/SDL2.framework/Headers\" \"SDLCONFIG_MACOSXSTATICLIBS=-F$f\" SDLCONFIG_MACOSXSTATICLIBS+=-framework SDLCONFIG_MACOSXSTATICLIBS+=SDL2 SDLCONFIG_MACOSXSTATICLIBS+=-framework SDLCONFIG_MACOSXSTATICLIBS+=Cocoa \"SDLCONFIG_MACOSXSTATICLIBS+=-I$f/SDL2.framework/Headers\""
                fi
 
                # workaround ARM issue in DP's makefile.inc