diff --git a/UpdateLibgit2ToSha.ps1 b/UpdateLibgit2ToSha.ps1
index b9f44476..75f03cfc 100644
--- a/UpdateLibgit2ToSha.ps1
+++ b/UpdateLibgit2ToSha.ps1
@@ -111,11 +111,13 @@ Push-Location $libgit2Directory
+ lib$binaryFilename.dylib
PreserveNewest
+ lib$binaryFilename.so
PreserveNewest
diff --git a/nuget.package/build/LibGit2Sharp.NativeBinaries.props b/nuget.package/build/LibGit2Sharp.NativeBinaries.props
index 205ffbdc..aa3d401b 100644
--- a/nuget.package/build/LibGit2Sharp.NativeBinaries.props
+++ b/nuget.package/build/LibGit2Sharp.NativeBinaries.props
@@ -23,11 +23,13 @@
+ libgit2-a56db99.dylib
PreserveNewest
+ libgit2-a56db99.so
PreserveNewest