]> git.rm.cloudns.org Git - xonotic/xonotic.git/commitdiff
Same sync for OS X.
authorRudolf Polzer <divVerent@gmail.com>
Sat, 20 Nov 2021 19:08:29 +0000 (14:08 -0500)
committerRudolf Polzer <divVerent@gmail.com>
Sat, 20 Nov 2021 19:08:35 +0000 (14:08 -0500)
Note that OS X builds aren't made yet as I first need to actually bring up the cross compiler first.

misc/tools/all/release.subr

index a3eb2ac227d214ce113af24691d5fab5932cdaa6..a6d307057edce82b4df81baa4731aacf4b008c7e 100644 (file)
@@ -292,8 +292,9 @@ case "$cmd" in
                #verbose "$SELF" release-getbinary Xonotic/Xonotic.app/Contents/MacOS/xonotic-osx-sdl-bin || good=false
                #verbose "$SELF" release-getbinary Xonotic/xonotic-osx-dedicated || good=false
                #$good
+               # Note: travis build script also had SDLCONFIG_MACOSX* flags; need to check if they're still needed with osxcross.
                verbose "$SELF" release-compile osx \
-                       'STRIP=: CC="gcc -g1 -arch i386 -arch ppc -arch x86_64 -isysroot /Developer/SDKs/MacOSX10.5.sdk -mmacosx-version-min=10.4 -I../../../.deps/include -L../../../.deps/lib -fno-reorder-blocks -DSUPPORTIPV6" DP_LINK_ZLIB=shared DP_LINK_JPEG=dlopen DP_LINK_ODE=dlopen DP_LINK_CRYPTO=dlopen DP_LINK_CRYPTO_RIJNDAEL=dlopen' \
+                       'STRIP=: CC="gcc -g1 -arch x86_64 -mmacosx-version-min=10.6 -Wl,-rpath -Wl,@loader_path/../Frameworks -Wl,-rpath -Wl,@loader_path -I../../../.deps/include -L../../../.deps/lib -DSUPPORTIPV6" DP_LINK_CRYPTO=dlopen DP_LINK_CRYPTO_RIJNDAEL=dlopen DP_LINK_JPEG=dlopen DP_LINK_ODE=dlopen DP_LINK_ZLIB=shared' \
                        'sv-release sdl-release' 'darkplaces-sdl:Xonotic/Xonotic.app/Contents/MacOS/xonotic-osx-sdl-bin darkplaces-dedicated:Xonotic/xonotic-osx-dedicated'
                ;;
        release-engine-linux64)