Make compilation to win32 work with winmm library
authorJuho Vähä-Herttua <juhovh@iki.fi>
Sun, 13 May 2012 14:16:19 +0000 (17:16 +0300)
committerJuho Vähä-Herttua <juhovh@iki.fi>
Wed, 16 May 2012 21:57:07 +0000 (00:57 +0300)
SConstruct

index 6de24c835c205c7f1353d73a6dd746e4f74af4a5..49df4a23e996a9649df1509cea22c8dcb784b7c9 100644 (file)
@@ -56,6 +56,7 @@ else:
                if conf.CheckLib('ws2_32'):
                        # We have windows socket lib without getaddrinfo, disable IPv6
                        env.Append(CPPDEFINES = ['DISABLE_IPV6'])
+conf.CheckLib('winmm')
 env = conf.Finish()
 
 env.SConscript('build/SConscript', exports='env')