You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
Fix linux builds with debug symbols when there is a space in the path.
This commit is contained in:
@@ -5,6 +5,6 @@ import os
|
|||||||
|
|
||||||
def make_debug_linuxbsd(target, source, env):
|
def make_debug_linuxbsd(target, source, env):
|
||||||
dst = str(target[0])
|
dst = str(target[0])
|
||||||
os.system("objcopy --only-keep-debug {0} {0}.debugsymbols".format(dst))
|
os.system('objcopy --only-keep-debug "{0}" "{0}.debugsymbols"'.format(dst))
|
||||||
os.system("strip --strip-debug --strip-unneeded {0}".format(dst))
|
os.system('strip --strip-debug --strip-unneeded "{0}"'.format(dst))
|
||||||
os.system("objcopy --add-gnu-debuglink={0}.debugsymbols {0}".format(dst))
|
os.system('objcopy --add-gnu-debuglink="{0}.debugsymbols" "{0}"'.format(dst))
|
||||||
|
|||||||
Reference in New Issue
Block a user