diff options
| author | Fabio Alessandrelli | 2016-11-17 23:28:05 +0100 |
|---|---|---|
| committer | Fabio Alessandrelli | 2016-12-11 18:12:46 +0100 |
| commit | 1a7f14b2067c5112b04d983af622d2f10b549ce3 (patch) | |
| tree | 05c1512fd5d9f0b843a26f539091e31d032e144f /platform/windows/detect.py | |
| parent | e1dfaaf786dc6bc3a4de85a920f4918a58ebfc74 (diff) | |
| download | godot-1a7f14b2067c5112b04d983af622d2f10b549ce3.tar.gz godot-1a7f14b2067c5112b04d983af622d2f10b549ce3.tar.zst godot-1a7f14b2067c5112b04d983af622d2f10b549ce3.zip | |
[IPv6] Fix windows build script (link to ws2_32)
Diffstat (limited to 'platform/windows/detect.py')
| -rw-r--r-- | platform/windows/detect.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/platform/windows/detect.py b/platform/windows/detect.py index ae620c678..77653b22a 100644 --- a/platform/windows/detect.py +++ b/platform/windows/detect.py @@ -239,7 +239,7 @@ def configure(env): env.Append(CCFLAGS=['/DGLES2_ENABLED']) - LIBS = ['winmm', 'opengl32', 'dsound', 'kernel32', 'ole32', 'oleaut32', 'user32', 'gdi32', 'IPHLPAPI', 'Shlwapi', 'wsock32', 'shell32', 'advapi32', 'dinput8', 'dxguid'] + LIBS = ['winmm', 'opengl32', 'dsound', 'kernel32', 'ole32', 'oleaut32', 'user32', 'gdi32', 'IPHLPAPI', 'Shlwapi', 'wsock32', 'ws2_32', 'shell32', 'advapi32', 'dinput8', 'dxguid'] env.Append(LINKFLAGS=[p + env["LIBSUFFIX"] for p in LIBS]) env.Append(LIBPATH=[os.getenv("WindowsSdkDir") + "/Lib"]) @@ -358,7 +358,7 @@ def configure(env): env.Append(CCFLAGS=['-DWINDOWS_ENABLED', '-mwindows']) env.Append(CPPFLAGS=['-DRTAUDIO_ENABLED']) env.Append(CCFLAGS=['-DGLES2_ENABLED']) - env.Append(LIBS=['mingw32', 'opengl32', 'dsound', 'ole32', 'd3d9', 'winmm', 'gdi32', 'iphlpapi', 'shlwapi', 'wsock32', 'kernel32', 'oleaut32', 'dinput8', 'dxguid']) + env.Append(LIBS=['mingw32', 'opengl32', 'dsound', 'ole32', 'd3d9', 'winmm', 'gdi32', 'iphlpapi', 'shlwapi', 'wsock32', 'ws2_32', 'kernel32', 'oleaut32', 'dinput8', 'dxguid']) # if (env["bits"]=="32"): # env.Append(LIBS=['gcc_s']) |
