8000 Teach UpdateLibgit2ToSha.ps1 to copy native binaries on windows only · SinghVarun/libgit2sharp@a0776fa · GitHub
[go: up one dir, main page]

Skip to content

Commit a0776fa

Browse files
committed
Teach UpdateLibgit2ToSha.ps1 to copy native binaries on windows only
1 parent caded6e commit a0776fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

UpdateLibgit2ToSha.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ namespace LibGit2Sharp.Core
184184
$buildProperties = @"
185185
<?xml version="1.0" encoding="utf-8"?>
186186
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
187-
<ItemGroup>
187+
<ItemGroup Condition=" '`$(OS)' == 'Windows_NT' ">
188188
<None Include="`$(MSBuildThisFileDirectory)\..\..\lib\net40\NativeBinaries\amd64\$binaryFilename.dll">
189189
<Link>NativeBinaries\amd64\$binaryFilename.dll</Link>
190190
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>

0 commit comments

Comments
 (0)
0