mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-08-31 11:41:51 +02:00
Fix compilation with static SDL 2.0.10
This commit is contained in:
@@ -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")
|
||||
|
Reference in New Issue
Block a user