Commit 3821089
authored
[ExternalGenericMetadataBuilder] Fix install invocation. Add dependency. (#71872)
The call `swift_install_in_component` does not support multiple
component depending on the `TARGET` pieces, so providing it several
times is only confusing for humans. Deduplicate the repeated component
and move it outside of the `ARCHIVE` and `LIBRARY` pieces.
Additionally, `add_swift_host_library` does not provide
a `INSTALL_IN_COMPONENT` like `add_swift_target_library` does, so there
is a missing dependency between the `compiler` component and the
library. This is not a problem with `build-script` because the target is
part of `all`, but it is a problem when using `ninja compiler`, for
example.`1 parent d50b00e commit 3821089
1 file changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
16 | 17 | | |
17 | 18 | | |
18 | | - | |
19 | 19 | | |
20 | | - | |
21 | | - | |
| 20 | + | |
| 21 | + | |
0 commit comments