mgorny wrote:

This change is incorrect and breaks building against LLVM dylib:

```
/usr/lib/gcc/aarch64-unknown-linux-gnu/15/../../../../aarch64-unknown-linux-gnu/bin/ld:
 cannot find -lLLVMTargetParser: No such file or directory
collect2: error: ld returned 1 exit status
```

`TargetParser` is part of the dylib, so it must be used via `LLVM_COMPONENTS`.

https://github.com/llvm/llvm-project/pull/174513
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to