| From 56e8972f66c3e948e2ad6885595c58fd23dcdb37 Mon Sep 17 00:00:00 2001 |
| From: Lars Kanis <kanis@comcard.de> |
| Date: Thu, 6 Jul 2017 17:09:40 +0200 |
| Subject: [PATCH] Don't use MSYS2 file libws2_32.a for MINGW build |
| |
| This file is intended for MSYS2/cygwin builds and blocks OpenSSL |
| detection of freetds on i686. |
| --- |
| configure | 2 -- |
| configure.ac | 2 -- |
| 2 files changed, 4 deletions(-) |
| |
| diff --git a/configure b/configure |
| index 9495a49..31eb01d 100644 |
| --- a/configure |
| +++ b/configure |
| @@ -15915,8 +15915,6 @@ case $host in |
| tds_mingw=yes |
| if test "$host_cpu" = "x86_64"; then |
| LIBS="-lws2_32" |
| - elif test -r /usr/lib/w32api/libws2_32.a; then |
| - LIBS="-L/usr/lib/w32api -lws2_32" |
| else |
| LIBS="-lws2_32" |
| fi |
| diff --git a/configure.ac b/configure.ac |
| index bff51aa..1034bf7 100644 |
| --- a/configure.ac |
| +++ b/configure.ac |
| @@ -172,8 +172,6 @@ case $host in |
| tds_mingw=yes |
| if test "$host_cpu" = "x86_64"; then |
| LIBS="-lws2_32" |
| - elif test -r /usr/lib/w32api/libws2_32.a; then |
| - LIBS="-L/usr/lib/w32api -lws2_32" |
| else |
| LIBS="-lws2_32" |
| fi |
| -- |
| 2.6.2.windows.1 |
| |