Permalink
Browse files

Use /MT instead of /MD when compiling libffi on Windows.

Otherwise you get mismatches and crazy build errors like:
  https://gist.github.com/575c1a006eee25cf5510
  • Loading branch information...
1 parent f3bb0c1 commit 79095196de991c2b0635aef36b587f66729b0e6b @TooTallNate TooTallNate committed Mar 4, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 deps/libffi/msvcc.sh
@@ -43,7 +43,7 @@
#
args="-nologo -W3"
-md=-MD
+md=-MT
cl="cl"
ml="ml"
safeseh="-safeseh"
@@ -86,7 +86,7 @@ do
# Link against debug CRT and enable runtime error checks.
args="$args -RTC1"
defines="$defines $1"
- md=-MDd
+ md=-MTd
shift 1
;;
-c)

0 comments on commit 7909519

Please sign in to comment.