diff options
author | Ben Straub <bs@github.com> | 2013-07-18 01:15:19 +0400 |
---|---|---|
committer | Ben Straub <bs@github.com> | 2013-07-18 01:15:19 +0400 |
commit | 9fa53918e4d1294bf3a431600bc0053f08983354 (patch) | |
tree | 9bc562de53ee3375b1ca44476e8441a180bfde1b /UpdateLibgit2ToSha.ps1 | |
parent | afb9cf4edaca91f9b8718805376888781f5cef21 (diff) |
Ensure libgit2 always uses STDCALL convention
Diffstat (limited to 'UpdateLibgit2ToSha.ps1')
-rw-r--r-- | UpdateLibgit2ToSha.ps1 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/UpdateLibgit2ToSha.ps1 b/UpdateLibgit2ToSha.ps1 index f2acb963..551ded35 100644 --- a/UpdateLibgit2ToSha.ps1 +++ b/UpdateLibgit2ToSha.ps1 @@ -144,7 +144,7 @@ function Assert-Consistent-Naming($expected, $path) { Run-Command -Quiet { & remove-item build -recurse -force } Run-Command -Quiet { & mkdir build } cd build - Run-Command -Quiet -Fatal { & $cmake -G "Visual Studio $vs" -D THREADSAFE=ON -D "BUILD_CLAR=$build_clar" -D "LIBGIT2_FILENAME=$binaryFilename" .. } + Run-Command -Quiet -Fatal { & $cmake -G "Visual Studio $vs" -D THREADSAFE=ON -D "BUILD_CLAR=$build_clar" -D "LIBGIT2_FILENAME=$binaryFilename" -DSTDCALL=ON .. } Run-Command -Quiet -Fatal { & $cmake --build . --config $configuration } if ($test.IsPresent) { Run-Command -Quiet -Fatal { & $ctest -V . } } cd $configuration @@ -157,7 +157,7 @@ function Assert-Consistent-Naming($expected, $path) { cd .. Run-Command -Quiet { & mkdir build64 } cd build64 - Run-Command -Quiet -Fatal { & $cmake -G "Visual Studio $vs Win64" -D THREADSAFE=ON -D "BUILD_CLAR=$build_clar" -D "LIBGIT2_FILENAME=$binaryFilename" ../.. } + Run-Command -Quiet -Fatal { & $cmake -G "Visual Studio $vs Win64" -D THREADSAFE=ON -D "BUILD_CLAR=$build_clar" -D "LIBGIT2_FILENAME=$binaryFilename" -DSTDCALL=ON ../.. } Run-Command -Quiet -Fatal { & $cmake --build . --config $configuration } if ($test.IsPresent) { Run-Command -Quiet -Fatal { & $ctest -V . } } cd $configuration |