Commit 71fe672
committed
llbuildSwift: wire up dependencies only when available
In the case that `Foundation` and `dispatch` are not passed along,
wiring up the dependencies results in an injected `-lFoundation.lib` and
`-lswiftDispatch.lib` on Windows. Only add the dependencies if we have
the associated CMake targets.1 parent 0b0d140 commit 71fe672
1 file changed
+8
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
46 | | - | |
47 | | - | |
48 | | - | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
49 | 54 | | |
50 | 55 | | |
51 | 56 | | |
| |||
0 commit comments