mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-04 22:34:53 +08:00
[godot] Strip Linux binaries
This commit is contained in:
parent
60674dc6cb
commit
d7fa4121f6
@ -111,9 +111,11 @@ elif [ "$platform" = "android" ]; then
|
||||
popd
|
||||
elif [ "$platform" = "linux" ]; then
|
||||
# --- 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_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.debug.64 bin/linux_x11_64_debug
|
||||
else
|
||||
|
||||
@ -61,6 +61,9 @@ else
|
||||
target="$target vsproj=yes livepp=$LIVEPP"
|
||||
fi
|
||||
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
|
||||
popd
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user