summaryrefslogtreecommitdiffstats
path: root/platform/windows/detect.py
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2014-10-08 00:43:27 -0300
committerJuan Linietsky <reduzio@gmail.com>2014-10-08 00:43:27 -0300
commitee049d1913a1e9ff78f58effee62e6d6c19dfa7b (patch)
treebbcf8bcad0931a4b7deef403c6fb4db69dd7ab22 /platform/windows/detect.py
parent3cf6a6fa8cdbd69d2e36addb112ea91fe56577c4 (diff)
parent26d5dac43d084f9d64646885c647ff5f1025a208 (diff)
downloadredot-engine-ee049d1913a1e9ff78f58effee62e6d6c19dfa7b.tar.gz
Merge pull request #763 from marynate/PR-fix-build-on-win
Fix windows build issue
Diffstat (limited to 'platform/windows/detect.py')
-rw-r--r--platform/windows/detect.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/platform/windows/detect.py b/platform/windows/detect.py
index fd45a28d19..744891b8e5 100644
--- a/platform/windows/detect.py
+++ b/platform/windows/detect.py
@@ -114,7 +114,8 @@ def configure(env):
env.Append(CCFLAGS=['/DGLES2_ENABLED'])
env.Append(CCFLAGS=['/DGLES1_ENABLED'])
env.Append(CCFLAGS=['/DGLEW_ENABLED'])
- env.Append(LIBS=['winmm','opengl32','dsound','kernel32','ole32','user32','gdi32', 'IPHLPAPI', 'wsock32', 'shell32','advapi32'])
+ LIBS=['winmm','opengl32','dsound','kernel32','ole32','user32','gdi32', 'IPHLPAPI', 'wsock32', 'shell32','advapi32']
+ env.Append(LINKFLAGS=[p+env["LIBSUFFIX"] for p in LIBS])
env.Append(LIBPATH=[os.getenv("WindowsSdkDir")+"/Lib"])
if (os.getenv("DXSDK_DIR")):