File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
utils/swift_build_support/swift_build_support/products Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -58,17 +58,19 @@ def build(self):
58
58
osx_version_min = self .args .darwin_deployment_version_osx
59
59
assert sysroot is not None
60
60
env = {
61
- "CXX" : self .toolchain .cxx ,
61
+ "CXX" : shell . _quote ( self .toolchain .cxx ) ,
62
62
"CFLAGS" : (
63
63
"-isysroot {sysroot} -mmacosx-version-min={osx_version}"
64
- ).format (sysroot = sysroot , osx_version = osx_version_min ),
64
+ ).format (sysroot = shell ._quote (sysroot ),
65
+ osx_version = osx_version_min ),
65
66
"LDFLAGS" : (
66
67
"-isysroot {sysroot} -mmacosx-version-min={osx_version}"
67
- ).format (sysroot = sysroot , osx_version = osx_version_min ),
68
+ ).format (sysroot = shell ._quote (sysroot ),
69
+ osx_version = osx_version_min ),
68
70
}
69
71
elif self .toolchain .cxx :
70
72
env = {
71
- "CXX" : self .toolchain .cxx ,
73
+ "CXX" : shell . _quote ( self .toolchain .cxx ) ,
72
74
}
73
75
74
76
# Ninja can only be built in-tree. Copy the source tree to the build
You can’t perform that action at this time.
0 commit comments