From 26d5dac43d084f9d64646885c647ff5f1025a208 Mon Sep 17 00:00:00 2001 From: marynate Date: Wed, 8 Oct 2014 10:59:35 +0800 Subject: Fix windows build issue by moving libraries from LIBS to LINKFLAGS; Remove redundant .exe surfix on windows --- platform/windows/detect.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'platform/windows/detect.py') diff --git a/platform/windows/detect.py b/platform/windows/detect.py index fd45a28d1..744891b8e 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")): -- cgit v1.2.3-70-g09d2