mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-03-26 22:49:01 +08:00
[godot] Strip Linux binaries
This commit is contained in:
parent
60674dc6cb
commit
d7fa4121f6
@ -111,9 +111,11 @@ elif [ "$platform" = "android" ]; then
|
|||||||
popd
|
popd
|
||||||
elif [ "$platform" = "linux" ]; then
|
elif [ "$platform" = "linux" ]; then
|
||||||
# --- Linix ---
|
# --- Linix ---
|
||||||
# generates godot.x11.opt.64, godot.x11.opt.debug.64
|
# generates linux_x11_64_release, linux_x11_64_debug
|
||||||
scons platform=x11 tools=no target=release bits=64 custom_modules="../spine_godot" --jobs=$cpus
|
scons platform=x11 tools=no target=release bits=64 custom_modules="../spine_godot" --jobs=$cpus
|
||||||
scons platform=x11 tools=no target=release_debug bits=64 custom_modules="../spine_godot" --jobs=$cpus
|
scons platform=x11 tools=no target=release_debug bits=64 custom_modules="../spine_godot" --jobs=$cpus
|
||||||
|
strip bin/godot.x11.opt.64
|
||||||
|
strip bin/godot.x11.opt.debug.64
|
||||||
cp bin/godot.x11.opt.64 bin/linux_x11_64_release
|
cp bin/godot.x11.opt.64 bin/linux_x11_64_release
|
||||||
cp bin/godot.x11.opt.debug.64 bin/linux_x11_64_debug
|
cp bin/godot.x11.opt.debug.64 bin/linux_x11_64_debug
|
||||||
else
|
else
|
||||||
|
|||||||
@ -61,6 +61,9 @@ else
|
|||||||
target="$target vsproj=yes livepp=$LIVEPP"
|
target="$target vsproj=yes livepp=$LIVEPP"
|
||||||
fi
|
fi
|
||||||
scons $target compiledb=yes custom_modules="../spine_godot" --jobs=$cpus
|
scons $target compiledb=yes custom_modules="../spine_godot" --jobs=$cpus
|
||||||
|
if [[ "$OSTYPE" == "linux-gnu"* ] && [ "$target" = "release_debug" ]]; then
|
||||||
|
strip godot.x11.opt.tools.64
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
popd
|
popd
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user