From 40d836106f3b886a17bcf363582573eb55f4ef38 Mon Sep 17 00:00:00 2001 From: jacob1 Date: Sat, 26 May 2018 19:03:55 -0400 Subject: [PATCH] update libraries required for static sdl2 compile --- SConscript | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/SConscript b/SConscript index e2f74233c..43ca0d26f 100644 --- a/SConscript +++ b/SConscript @@ -231,7 +231,7 @@ def findLibs(env, conf): if msvc: libChecks = ['shell32', 'wsock32', 'user32', 'Advapi32', 'ws2_32'] if GetOption('static'): - libChecks += ['libcmt', 'dxguid'] + libChecks += ['imm32', 'version', 'Ole32', 'OleAut32'] 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") @@ -239,8 +239,8 @@ def findLibs(env, conf): if not conf.CheckLib('mingw32') or not conf.CheckLib('ws2_32'): FatalError("Error: some windows libraries not found or not installed, make sure your compiler is set up correctly") - if not GetOption('renderer') and not conf.CheckLib('SDLmain'): - FatalError("libSDLmain not found or not installed") + if not GetOption('renderer') and not conf.CheckLib('SDL2main'): + FatalError("libSDL2main not found or not installed") #Look for SDL runSdlConfig = platform == "Linux" or compilePlatform == "Linux" or platform == "FreeBSD"