Make it possible to compile CAPI engine under mingw64.
authorAndy Polyakov <appro@openssl.org>
Sun, 3 May 2009 13:54:01 +0000 (13:54 +0000)
committerAndy Polyakov <appro@openssl.org>
Sun, 3 May 2009 13:54:01 +0000 (13:54 +0000)
Configure
TABLE

index 9197a6b5ba5e324318721a17ab1d1c077a1c0571..488d390d942a1a41d5c5c14381d98e04a04e8418 100755 (executable)
--- a/Configure
+++ b/Configure
@@ -504,7 +504,7 @@ my %table=(
 # handling, one can't seriously consider its binaries for using with
 # non-mingw64 run-time environment. And as mingw64 is always consistent
 # with itself, Applink is never engaged and can as well be omitted.
-"mingw64", "gcc:-mno-cygwin -DL_ENDIAN -O3 -Wall -DWIN32_LEAN_AND_MEAN -DUNICODE -D_UNICODE:::MINGW64:-lws2_32 -lgdi32:SIXTY_FOUR_BIT RC4_CHUNK_LL DES_INT EXPORT_VAR_AS_FN:${x86_64_asm}:mingw64:win32:cygwin-shared:-D_WINDLL:-mno-cygwin:.dll.a",
+"mingw64", "gcc:-mno-cygwin -DL_ENDIAN -O3 -Wall -DWIN32_LEAN_AND_MEAN -DUNICODE -D_UNICODE:::MINGW64:-lws2_32 -lgdi32 -lcrypt32:SIXTY_FOUR_BIT RC4_CHUNK_LL DES_INT EXPORT_VAR_AS_FN:${x86_64_asm}:mingw64:win32:cygwin-shared:-D_WINDLL:-mno-cygwin:.dll.a",
 
 # UWIN 
 "UWIN", "cc:-DTERMIOS -DL_ENDIAN -O -Wall:::UWIN::BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}:${no_asm}:win32",
diff --git a/TABLE b/TABLE
index 630e1b9edf5050482f464b01eb27d741ea158c2a..6d58ceef37c2edd7ad609953495a831b29ccb690 100644 (file)
--- a/TABLE
+++ b/TABLE
@@ -3726,7 +3726,7 @@ $cflags       = -mno-cygwin -DL_ENDIAN -O3 -Wall -DWIN32_LEAN_AND_MEAN -DUNICODE
 $unistd       = 
 $thread_cflag = 
 $sys_id       = MINGW64
-$lflags       = -lws2_32 -lgdi32
+$lflags       = -lws2_32 -lgdi32 -lcrypt32
 $bn_ops       = SIXTY_FOUR_BIT RC4_CHUNK_LL DES_INT EXPORT_VAR_AS_FN
 $cpuid_obj    = x86_64cpuid.o
 $bn_obj       = x86_64-gcc.o x86_64-mont.o