Bad things happen with certain legal target names |
|
Issue description
If you do something like
component("system") {
# ...
}
This will work just fine in many cases. Occasionally it will break the build in confusing ways because when the linker sees -lsystem it links against this instead of the standard system library.
Perhaps it would be worth emitting a warning or something if an output library name matches some predefined greylist for the current toolchain.
|
|
►
Sign in to add a comment |
|