From e7dcdf2d658ae91035fdfe1e3153b026a722c02d Mon Sep 17 00:00:00 2001 From: weil Date: Sun, 14 Jul 2024 06:18:49 +0200 Subject: [PATCH] Use static libvpx; use /MD runtime for Godot and final library --- SConstruct | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/SConstruct b/SConstruct index d769b1c..e62f1e0 100644 --- a/SConstruct +++ b/SConstruct @@ -18,7 +18,9 @@ includes += Glob("src/platform/win32/*.h") # Append additional library paths and libraries for Opus, Speex, and vpx env.Append(CPPPATH=['#3rdparty/opus/include', '#3rdparty/speex/include', '#3rdparty/libvpx/include']) env.Append(LIBPATH=['#3rdparty/opus/lib', '#3rdparty/speex/lib', '#3rdparty/libvpx/lib/x64']) -env.Append(LIBS=['opus', 'libspeex', 'libspeexdsp', 'vpx']) +env.Append(LIBS=['opus', 'libspeex', 'libspeexdsp', 'libvpx']) + +env.Append(CCFLAGS='/MD') # Determine extension and addon path (extension_path,) = glob("export/addons/*/*.gdextension")