Use static libvpx; use /MD runtime for Godot and final library

This commit is contained in:
weil 2024-07-14 06:18:49 +02:00
parent bc5569f93f
commit e7dcdf2d65
1 changed files with 3 additions and 1 deletions

View File

@ -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")