aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabio Alessandrelli2016-11-17 23:28:05 +0100
committerFabio Alessandrelli2016-12-11 18:12:46 +0100
commit1a7f14b2067c5112b04d983af622d2f10b549ce3 (patch)
tree05c1512fd5d9f0b843a26f539091e31d032e144f
parente1dfaaf786dc6bc3a4de85a920f4918a58ebfc74 (diff)
downloadgodot-1a7f14b2067c5112b04d983af622d2f10b549ce3.tar.gz
godot-1a7f14b2067c5112b04d983af622d2f10b549ce3.tar.zst
godot-1a7f14b2067c5112b04d983af622d2f10b549ce3.zip
-rw-r--r--platform/windows/detect.py4
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'])