From 0bccf13b759e9662050421699b350a7ba32a489d Mon Sep 17 00:00:00 2001
From: Geoffrey Mainland <gmainlan@microsoft.com>
Date: Wed, 5 Oct 2011 11:05:06 +0100
Subject: [PATCH] Use $build instead of $host to determine EXTRA_SRCS,
EXTRA_LIBS, and CALLCONV (fixes #41).
---
configure.ac | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/configure.ac b/configure.ac
index 05e2e26..0ce96dd 100644
|
a
|
b
|
|
| 145 | 145 | |
| 146 | 146 | AC_CHECK_FUNCS(gethostent) |
| 147 | 147 | |
| 148 | | case "$host" in |
| | 148 | case "$build" in |
| 149 | 149 | *-mingw32) |
| 150 | 150 | EXTRA_SRCS="cbits/initWinSock.c, cbits/winSockErr.c, cbits/asyncAccept.c" |
| 151 | 151 | EXTRA_LIBS=ws2_32 |