[release/9.0-staging] Fixed android build with NDK 23 by jkurdek · Pull Request #111696 · dotnet/runtime
Customer Impact
- Customer reported
- Found internally
Building locally mono android with NDK 23 leads to an error where _LibClang item holds two different paths at once. The problem was caused by _LibClang being treated like a property in proj file while being an item. This PR fixes the issue by referring to it using @ instead of $.
Fixes #111695.
Regression
- Yes
- No
The bug was introduced to .NET 9 branch in 63cb882 to fix .NET 9 CI after NDK 27 bump.
Testing
This affects the local build only (as we build .NET 9 with NDK 27) so I verified locally that the error is no longer present.
Risk
Very low.