diff options
author | Fabio Alessandrelli <fabio.alessandrelli@gmail.com> | 2019-03-08 15:20:53 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-03-08 15:20:53 +0100 |
commit | 31821b094b1810b829fbb0fa8d217a9692c8816a (patch) | |
tree | 8ab05706e0c067d30b31679b5cfbd95a2fa49f2c /SConstruct | |
parent | a44a5af115871b5be4dcfb05a421046a25ba5d73 (diff) | |
parent | f2799fdbb296fa764384ba085fcb46e19248b09a (diff) | |
download | fork-godot-webrtc-native-31821b094b1810b829fbb0fa8d217a9692c8816a.tar.gz fork-godot-webrtc-native-31821b094b1810b829fbb0fa8d217a9692c8816a.tar.bz2 fork-godot-webrtc-native-31821b094b1810b829fbb0fa8d217a9692c8816a.zip |
Merge pull request #1 from godotengine/bmakin_import
Import GSoC 2018 work
Diffstat (limited to 'SConstruct')
-rw-r--r-- | SConstruct | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -110,13 +110,13 @@ if target_platform == "linux": elif target_platform == "windows": # Mostly VisualStudio if env["CC"] == "cl": - env.Append(CCFLAGS=["/DWEBRTC_WIN", "/D_WINSOCKAPI_", "/DNOMINMAX", "/DRTC_UNUSED=", "/DNO_RETURN="]) - env.Append(LINKFLAGS=[p + env["LIBSUFFIX"] for p in ["secur32", lib_name]]) + env.Append(CCFLAGS=["/DWEBRTC_WIN", "/DWIN32_LEAN_AND_MEAN", "/DNOMINMAX", "/DRTC_UNUSED=", "/DNO_RETURN="]) + env.Append(LINKFLAGS=[p + env["LIBSUFFIX"] for p in ["secur32", "advapi32", "winmm", lib_name]]) env.Append(LIBPATH=[lib_path]) # Mostly "gcc" else: - env.Append(CCFLAGS=["-DWEBRTC_WIN", "-D_WINSOCKAPI_", "-DNOMINMAX", "-DRTC_UNUSED=", "-DNO_RETURN="]) - env.Append(LIBS=["secur32", lib_name]) + env.Append(CCFLAGS=["-DWINVER=0x0603", "-D_WIN32_WINNT=0x0603", "-DWEBRTC_WIN", "-DWIN32_LEAN_AND_MEAN", "-DNOMINMAX", "-DRTC_UNUSED=", "-DNO_RETURN="]) + env.Append(LINKFLAGS=[p + env["LIBSUFFIX"] for p in ["secur32", "advapi32", "winmm", lib_name]]) env.Append(LIBPATH=[lib_path]) elif target_platform == "osx": |