Allow qt-win to build.
[fedora-mingw.git] / openssl / mingw32-openssl-0.9.8j-configure.patch
1 The 'mingw' target to Configure has some problems with cross-compilation.
2
3  - RWMJ 2008-09-30
4
5 diff -ur openssl-0.9.8g.orig/Configure openssl-0.9.8g.mingw/Configure
6 --- openssl-0.9.8g.orig/Configure       2008-09-30 14:16:16.000000000 +0100
7 +++ openssl-0.9.8g.mingw/Configure      2008-09-30 14:59:34.000000000 +0100
8 @@ -468,7 +468,7 @@
9  "BC-32","bcc32::::WIN32::BN_LLONG DES_PTR RC4_INDEX EXPORT_VAR_AS_FN:${no_asm}:win32",
10  
11  # MinGW
12 -"mingw", "gcc:-mno-cygwin -DL_ENDIAN -fomit-frame-pointer -O3 -march=i486 -Wall -D_WIN32_WINNT=0x333:::MINGW32:-lwsock32 -lgdi32:BN_LLONG ${x86_gcc_des} ${x86_gcc_opts} EXPORT_VAR_AS_FN:${x86_coff_asm}:win32:cygwin-shared:-D_WINDLL -DOPENSSL_USE_APPLINK:-mno-cygwin -shared:.dll.a",
13 +"mingw", "MINGW32_CC:-DL_ENDIAN -Wall MINGW32_CFLAGS -D_WIN32_WINNT=0x333 -DMK1MF_BUILD:::MINGW32:-lwsock32 -lgdi32:BN_LLONG ${x86_gcc_des} ${x86_gcc_opts} EXPORT_VAR_AS_FN:${x86_coff_asm}:win32:cygwin-shared:-D_WINDLL -DOPENSSL_USE_APPLINK:-shared:.dll.a:MINGW32_RANLIB",
14  
15  # UWIN 
16  "UWIN", "cc:-DTERMIOS -DL_ENDIAN -O -Wall:::UWIN::BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}:${no_asm}:win32",