Commit f07fa9f
authored
build: adjust the build for rebranch (swiftlang#4820)
The newer clang compiler prefers `module.modulemap` over `module.map`.
This will result in us using the framework form of the module
definitions for CoreFoundation. While this is fine for the compilation,
the linker directive to link against the framework will also be emitted
into the object files. This causes a linker failure on Windows as
`-framework (CoreFoundation|CFURLInterface|CFXMLInterface)` is not a
valid linker option. Use the swift control over the directives to avoid
emitting the framework link directive to repair the build.1 parent 1319097 commit f07fa9f
File tree
3 files changed
+3
-0
lines changed- Sources
- FoundationNetworking
- FoundationXML
- Foundation
3 files changed
+3
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
152 | 152 | | |
153 | 153 | | |
154 | 154 | | |
| 155 | + | |
155 | 156 | | |
156 | 157 | | |
157 | 158 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
| 62 | + | |
62 | 63 | | |
63 | 64 | | |
64 | 65 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
13 | 14 | | |
14 | 15 | | |
15 | 16 | | |
| |||
0 commit comments