From 396a8d81eab08174047b131322c80191c3c988e9 Mon Sep 17 00:00:00 2001 From: meep-eep Date: Fri, 27 Oct 2006 22:11:35 +0000 Subject: [PATCH] MinGW build fix. git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2472 8092fc87-c524-0410-9efc-e669fe64eaf9 --- sc2/build/unix/build.config | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sc2/build/unix/build.config b/sc2/build/unix/build.config index 5ea281b0b..605da4336 100644 --- a/sc2/build/unix/build.config +++ b/sc2/build/unix/build.config @@ -230,6 +230,9 @@ uqm_prepare_config() CHOICE_netplay_OPTION_full_ACTION=netplay_full_action netplay_full_action() { CFLAGS="$CFLAGS -DNETPLAY=NETPLAY_FULL" + if [ -n "$MACRO_WIN32" ]; then + CFLAGS="$CFLAGS -lws2_32" + fi NETPLAY="FULL" } CHOICE_netplay_OPTION_ipv4_TITLE="IPv4; no IPv6 (experimental)"