summaryrefslogtreecommitdiffstats
path: root/src/freetds.mk
diff options
context:
space:
mode:
authorVolker Grabsch <vog@notjusthosting.com>2009-12-02 11:31:55 (GMT)
committerVolker Grabsch <vog@notjusthosting.com>2009-12-02 11:31:55 (GMT)
commit7d8ab3dff0d002f7b6220fc1225472883c8fdf18 (patch)
treec4e1b0a822994dc2151363ccf989704389d0ab1b /src/freetds.mk
parent7760f4661eefca1b6a8d481a4bf05c42c1050912 (diff)
downloadmxe-7d8ab3dff0d002f7b6220fc1225472883c8fdf18.zip
mxe-7d8ab3dff0d002f7b6220fc1225472883c8fdf18.tar.gz
mxe-7d8ab3dff0d002f7b6220fc1225472883c8fdf18.tar.bz2
use winsock2 instead of winsock in packages freetds and openssl (by Mark Brand)
Diffstat (limited to 'src/freetds.mk')
-rw-r--r--src/freetds.mk5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/freetds.mk b/src/freetds.mk
index 66817d6..f281902 100644
--- a/src/freetds.mk
+++ b/src/freetds.mk
@@ -40,7 +40,10 @@ define $(PKG)_UPDATE
endef
define $(PKG)_BUILD
- # Beware --with-gnutls broken detection.
+ # package uses winsock2.h, so it should link to ws2_32 instead of wsock32
+ $(SED) 's,wsock32,ws2_32,g' -i '$(1)'/configure
+
+ # beware --with-gnutls broken detection
cd '$(1)' && ./configure \
--prefix='$(PREFIX)/$(TARGET)' \
--host='$(TARGET)' \