diff --git a/platform/linuxbsd/platform_linuxbsd_builders.py b/platform/linuxbsd/platform_linuxbsd_builders.py index 46fa1947e87..1298a416e0c 100644 --- a/platform/linuxbsd/platform_linuxbsd_builders.py +++ b/platform/linuxbsd/platform_linuxbsd_builders.py @@ -5,6 +5,6 @@ import os def make_debug_linuxbsd(target, source, env): dst = str(target[0]) - os.system("objcopy --only-keep-debug {0} {0}.debugsymbols".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 --only-keep-debug "{0}" "{0}.debugsymbols"'.format(dst)) + os.system('strip --strip-debug --strip-unneeded "{0}"'.format(dst)) + os.system('objcopy --add-gnu-debuglink="{0}.debugsymbols" "{0}"'.format(dst))