diff options
| author | Rémi Verschelde | 2018-02-15 09:06:00 +0100 |
|---|---|---|
| committer | Hein-Pieter van Braam | 2018-02-19 22:13:44 +0100 |
| commit | 801b544ee14fbfa906bdd9b659509378d231e3e2 (patch) | |
| tree | 54d6b3a56a16c30f8c0cea7aa2adae3ab7ef1055 /platform | |
| parent | 097f95993fc42427a9207f9f0aee184893ff9bea (diff) | |
| download | godot-801b544ee14fbfa906bdd9b659509378d231e3e2.tar.gz godot-801b544ee14fbfa906bdd9b659509378d231e3e2.tar.zst godot-801b544ee14fbfa906bdd9b659509378d231e3e2.zip | |
Windows: Fix case of imm32 for case-sensitive MinGW build
Fixes #16713.
(cherry picked from commit 4fa8987494c213bf85fbadaf394d844874544990)
Diffstat (limited to 'platform')
| -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 2b3743b06..b8a9ed482 100644 --- a/platform/windows/detect.py +++ b/platform/windows/detect.py @@ -179,7 +179,7 @@ def configure(env): if env["bits"] == "64": env.Append(CCFLAGS=['/D_WIN64']) - LIBS = ['winmm', 'opengl32', 'dsound', 'kernel32', 'ole32', 'oleaut32', 'user32', 'gdi32', 'IPHLPAPI', 'Shlwapi', 'wsock32', 'Ws2_32', 'shell32', 'advapi32', 'dinput8', 'dxguid', 'Imm32'] + LIBS = ['winmm', 'opengl32', 'dsound', 'kernel32', 'ole32', 'oleaut32', 'user32', 'gdi32', 'IPHLPAPI', 'Shlwapi', 'wsock32', 'Ws2_32', 'shell32', 'advapi32', 'dinput8', 'dxguid', 'imm32'] env.Append(LINKFLAGS=[p + env["LIBSUFFIX"] for p in LIBS]) env.Append(LIBPATH=[os.getenv("WindowsSdkDir") + "/Lib"]) @@ -281,7 +281,7 @@ def configure(env): env.Append(CCFLAGS=['-DRTAUDIO_ENABLED']) env.Append(CCFLAGS=['-DWASAPI_ENABLED']) env.Append(CCFLAGS=['-DWINVER=%s' % env['target_win_version'], '-D_WIN32_WINNT=%s' % env['target_win_version']]) - env.Append(LIBS=['mingw32', 'opengl32', 'dsound', 'ole32', 'd3d9', 'winmm', 'gdi32', 'iphlpapi', 'shlwapi', 'wsock32', 'ws2_32', 'kernel32', 'oleaut32', 'dinput8', 'dxguid', 'ksuser', 'Imm32']) + env.Append(LIBS=['mingw32', 'opengl32', 'dsound', 'ole32', 'd3d9', 'winmm', 'gdi32', 'iphlpapi', 'shlwapi', 'wsock32', 'ws2_32', 'kernel32', 'oleaut32', 'dinput8', 'dxguid', 'ksuser', 'imm32']) env.Append(CPPFLAGS=['-DMINGW_ENABLED']) |
