Fix compilation with static SDL 2.0.10

This commit is contained in:
jacob1
2020-02-26 22:38:33 -05:00
parent 9e53612a5b
commit d2900760cc
2 changed files with 2 additions and 2 deletions

View File

@@ -227,7 +227,7 @@ def findLibs(env, conf):
if msvc:
libChecks = ['shell32', 'wsock32', 'user32', 'Advapi32', 'ws2_32', 'Wldap32', 'crypt32']
if GetOption('static'):
libChecks += ['imm32', 'version', 'Ole32', 'OleAut32']
libChecks += ['imm32', 'version', 'Ole32', 'OleAut32', 'SetupApi']
for i in libChecks:
if not conf.CheckLib(i):
FatalError("Error: some windows libraries not found or not installed, make sure your compiler is set up correctly")