Skip to content

Commit 63cb882

Browse files
authored
Since we bumped the NDK in dotnet/dotnet-buildtools-prereqs-docker#1278, libClang.so is no longer found in the place we expect. As a result, the android aot offsets won't be generated and the dedicated CI leg will fail. (#111426)
This change fixes the path.
1 parent cbcec76 commit 63cb882

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: src/mono/mono.proj

+1
Original file line numberDiff line numberDiff line change
@@ -819,6 +819,7 @@ JS_ENGINES = [NODE_JS]
819819
<ItemGroup Condition="'$(AotHostOS)' == 'linux'">
820820
<_LibClang Include="$(ANDROID_NDK_ROOT)/toolchains/llvm/prebuilt/$(MonoToolchainPrebuiltOS)/lib/libclang.so" Condition=" Exists('$(ANDROID_NDK_ROOT)/toolchains/llvm/prebuilt/$(MonoToolchainPrebuiltOS)/lib/libclang.so') "/>
821821
<_LibClang Include="$(ANDROID_NDK_ROOT)/toolchains/llvm/prebuilt/$(MonoToolchainPrebuiltOS)/lib64/libclang.so.*" Condition=" '$(_LibClang)' == '' "/>
822+
<_LibClang Include="/usr/local/lib/libclang.so" Condition="'$(_LibClang)' == ''" />
822823
</ItemGroup>
823824
<PropertyGroup Condition="'$(TargetsLinux)' == 'true' and '$(Platform)' == 'arm64'">
824825
<MonoUseCrossTool>true</MonoUseCrossTool>

0 commit comments

Comments
 (0)