From 7ec40a480b88d68b1b1906fa312a983823df96ad Mon Sep 17 00:00:00 2001 From: Andy Polyakov Date: Sat, 12 Mar 2005 09:33:14 +0000 Subject: [PATCH] Add mingw shared support [backport from HEAD]. --- Configure | 2 +- TABLE | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Configure b/Configure index 716cc01237..574bf55f57 100755 --- a/Configure +++ b/Configure @@ -520,7 +520,7 @@ my %table=( "BC-16","bcc:::(unknown):WIN16::BN_LLONG DES_PTR RC4_INDEX SIXTEEN_BIT:::", # MinGW -"mingw", "gcc:-DL_ENDIAN -fomit-frame-pointer -O3 -march=i486 -mno-cygwin -Wall:::MINGW32:-mno-cygwin -lwsock32 -lgdi32:BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}:${x86_out_asm}:win32::::.dll", +"mingw", "gcc:-DL_ENDIAN -fomit-frame-pointer -O3 -march=i486 -mno-cygwin -Wall:::MINGW32:-lwsock32 -lgdi32:BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}:${x86_out_asm}:win32:cygwin-shared:-D_DLL:-mno-cygwin:.dll", # UWIN "UWIN", "cc:-DTERMIOS -DL_ENDIAN -O -Wall:::UWIN::BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}::::::::::win32", diff --git a/TABLE b/TABLE index d4e3fed703..b871ce8863 100644 --- a/TABLE +++ b/TABLE @@ -3556,7 +3556,7 @@ $cflags = -DL_ENDIAN -fomit-frame-pointer -O3 -march=i486 -mno-cygwin -Wal $unistd = $thread_cflag = $sys_id = MINGW32 -$lflags = -mno-cygwin -lwsock32 -lgdi32 +$lflags = -lwsock32 -lgdi32 $bn_ops = BN_LLONG DES_PTR DES_RISC1 DES_UNROLL RC4_INDEX MD2_INT $bn_obj = asm/bn86-out.o asm/co86-out.o $des_obj = asm/dx86-out.o asm/yx86-out.o @@ -3568,9 +3568,9 @@ $rc4_obj = asm/rx86-out.o $rmd160_obj = asm/rm86-out.o $rc5_obj = asm/r586-out.o $dso_scheme = win32 -$shared_target= -$shared_cflag = -$shared_ldflag = +$shared_target= cygwin-shared +$shared_cflag = -D_DLL +$shared_ldflag = -mno-cygwin $shared_extension = .dll $ranlib = $arflags = -- 2.25.1