From b3bd32a93648dd834af01898ecb88b50da22de9d Mon Sep 17 00:00:00 2001 From: loonycyborg Date: Sat, 2 Jun 2018 11:52:28 +0300 Subject: [PATCH] scons: add missing winapi lib dependencies to mingw build (cherry-picked from commit d96d5c506c2d8c8f47984b2e1d4bf13111e195a2) --- SConstruct | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SConstruct b/SConstruct index 0aa1490443b..484581104da 100755 --- a/SConstruct +++ b/SConstruct @@ -601,7 +601,7 @@ for env in [test_env, client_env, env]: env[d] = os.path.join(env["prefix"], env[d]) if env["PLATFORM"] == 'win32': - env.Append(LIBS = ["wsock32", "iconv", "z", "shlwapi", "winmm"], CCFLAGS = ["-mthreads"], LINKFLAGS = ["-mthreads"], CPPDEFINES = ["_WIN32_WINNT=0x0601"]) + env.Append(LIBS = ["wsock32", "iconv", "z", "shlwapi", "winmm", "ole32", "uuid"], CCFLAGS = ["-mthreads"], LINKFLAGS = ["-mthreads"], CPPDEFINES = ["_WIN32_WINNT=0x0601"]) if env["PLATFORM"] == 'darwin': # Mac OS X env.Append(FRAMEWORKS = "Cocoa") # Cocoa GUI