Fixed library name for debug SDL3 on Windows.

This commit is contained in:
Patrick 2024-09-12 14:53:07 +02:00
parent ae870e798d
commit fe8f329b38

View File

@ -11,7 +11,7 @@ def _git_cook(env: Environment, repo: dict) -> dict:
libs = []
if platform.system() == 'Windows':
if env['BUILD_TYPE'] == 'debug':
lib_names = ['SDL2-staticd', 'SDL3-staticd']
lib_names = ['SDL2-staticd', 'SDL3-static']
else:
lib_names = ['SDL2-static', 'SDL3-static']
libs.extend(('kernel32', 'user32', 'gdi32', 'winmm', 'imm32', 'ole32', 'oleaut32', 'version', 'uuid', 'advapi32', 'setupapi', 'shell32', 'dinput8'))