File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
utils/swift_build_support
swift_build_support/products Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -63,8 +63,8 @@ def build(self):
63
63
"-isysroot {sysroot} -mmacosx-version-min={osx_version}"
64
64
).format (sysroot = sysroot , osx_version = osx_version_min ),
65
65
"LDFLAGS" : (
66
- "-mmacosx-version-min={osx_version}"
67
- ).format (osx_version = osx_version_min ),
66
+ "-isysroot {sysroot} - mmacosx-version-min={osx_version}"
67
+ ).format (sysroot = sysroot , osx_version = osx_version_min ),
68
68
}
69
69
elif self .toolchain .cxx :
70
70
env = {
Original file line number Diff line number Diff line change @@ -101,7 +101,7 @@ def test_build(self):
101
101
"env "
102
102
"'CFLAGS=-isysroot {sysroot} -mmacosx-version-min=10.9' "
103
103
"CXX={cxx} "
104
- "LDFLAGS=-mmacosx-version-min=10.9 "
104
+ "' LDFLAGS=-isysroot {sysroot} - mmacosx-version-min=10.9' "
105
105
).format (
106
106
cxx = self .toolchain .cxx ,
107
107
sysroot = xcrun .sdk_path ('macosx' )
You can’t perform that action at this time.
0 commit comments