Skip to content

Commit becf5d7

Browse files
committed
Fix linux builds with debug symbols when there is a space in the path.
1 parent 1015a48 commit becf5d7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

platform/linuxbsd/platform_linuxbsd_builders.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@
55

66
def make_debug_linuxbsd(target, source, env):
77
dst = str(target[0])
8-
os.system("objcopy --only-keep-debug {0} {0}.debugsymbols".format(dst))
9-
os.system("strip --strip-debug --strip-unneeded {0}".format(dst))
10-
os.system("objcopy --add-gnu-debuglink={0}.debugsymbols {0}".format(dst))
8+
os.system('objcopy --only-keep-debug "{0}" "{0}.debugsymbols"'.format(dst))
9+
os.system('strip --strip-debug --strip-unneeded "{0}"'.format(dst))
10+
os.system('objcopy --add-gnu-debuglink="{0}.debugsymbols" "{0}"'.format(dst))

0 commit comments

Comments
 (0)