Skip to content

Commit aca35a2

Browse files
committed
adding arm runtimes
1 parent 231f21f commit aca35a2

File tree

3 files changed

+3
-6
lines changed

3 files changed

+3
-6
lines changed

RocksDbNative/RocksDbNative.csproj

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -52,16 +52,13 @@
5252
<None Remove="build\**" />
5353
</ItemGroup>
5454
<ItemGroup>
55-
<None Remove="runtimes\linux-x64\native\librocksdb.so" />
56-
<Content Include="runtimes\linux-x64\native\librocksdb.so">
55+
<Content Include="runtimes\linux-$([System.Runtime.InteropServices.RuntimeInformation]::OSArchitecture.ToString().ToLower())\native\librocksdb.so" Condition=" '$([System.Runtime.InteropServices.RuntimeInformation]::IsOSPlatform($([System.Runtime.InteropServices.OSPlatform]::Linux)))' ">
5756
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
5857
</Content>
59-
<None Remove="runtimes\osx-x64\native\librocksdb.dylib" />
60-
<Content Include="runtimes\osx-x64\native\librocksdb.dylib">
58+
<Content Include="runtimes\osx-$([System.Runtime.InteropServices.RuntimeInformation]::OSArchitecture.ToString().ToLower())\native\librocksdb.dylib" Condition=" '$([System.Runtime.InteropServices.RuntimeInformation]::IsOSPlatform($([System.Runtime.InteropServices.OSPlatform]::OSX)))' ">
6159
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
6260
</Content>
63-
<None Remove="runtimes\win-x64\native\rocksdb.dll" />
64-
<Content Include="runtimes\win-x64\native\rocksdb.dll">
61+
<Content Include="runtimes\win-$([System.Runtime.InteropServices.RuntimeInformation]::OSArchitecture.ToString().ToLower())\native\rocksdb.dll" Condition=" '$([System.Runtime.InteropServices.RuntimeInformation]::IsOSPlatform($([System.Runtime.InteropServices.OSPlatform]::Windows)))' ">
6562
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
6663
</Content>
6764
</ItemGroup>
4.88 MB
Binary file not shown.
5.18 MB
Binary file not shown.

0 commit comments

Comments
 (0)