Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/libgit2sharp.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Straub <bs@github.com>2013-07-18 01:15:19 +0400
committerBen Straub <bs@github.com>2013-07-18 01:15:19 +0400
commit9fa53918e4d1294bf3a431600bc0053f08983354 (patch)
tree9bc562de53ee3375b1ca44476e8441a180bfde1b /UpdateLibgit2ToSha.ps1
parentafb9cf4edaca91f9b8718805376888781f5cef21 (diff)
Ensure libgit2 always uses STDCALL convention
Diffstat (limited to 'UpdateLibgit2ToSha.ps1')
-rw-r--r--UpdateLibgit2ToSha.ps14
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