From 3d02e1e213afb4fd84cb79898a9aff8eb2eb6e35 Mon Sep 17 00:00:00 2001 From: Sam Hocevar Date: Thu, 5 Jul 2012 21:49:26 +0000 Subject: [PATCH] build: recompile Win64 SDL with -D_CRTIMP= so that it uses the static runtime library (the same that we use for the engine), and link with winmm.lib and dxguid.lib on that platform. --- build/vs2010/Lol.Core.Rules.props | 4 ++-- build/vs2010/Lol.Core.Vars.props | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/build/vs2010/Lol.Core.Rules.props b/build/vs2010/Lol.Core.Rules.props index f8656134..5b21f9b3 100644 --- a/build/vs2010/Lol.Core.Rules.props +++ b/build/vs2010/Lol.Core.Rules.props @@ -45,8 +45,8 @@ $(D3d9Deps);%(AdditionalDependencies) %(AdditionalDependencies) $(SdlLibs);%(AdditionalLibraryDirectories) - $(GlLibs);%(AdditionalLibraryDirectories) - $(D3d9Libs);%(AdditionalLibraryDirectories) + $(GlLibs);%(AdditionalLibraryDirectories) + $(D3d9Libs);%(AdditionalLibraryDirectories) %(AdditionalLibraryDirectories) xapilibd.lib;d3d9d.lib;d3dx9d.lib;xgraphicsd.lib;xboxkrnl.lib;xnetd.lib;xaudiod2.lib;xactd3.lib;x3daudiod.lib;xmcored.lib;xbdm.lib;vcompd.lib;%(AdditionalDependencies) xapilib.lib;d3d9.lib;d3dx9.lib;xgraphics.lib;xboxkrnl.lib;xnet.lib;xaudio2.lib;xact3.lib;x3daudio.lib;xmcore.lib;vcomp.lib;%(AdditionalDependencies) diff --git a/build/vs2010/Lol.Core.Vars.props b/build/vs2010/Lol.Core.Vars.props index f2bbd072..6897ef98 100644 --- a/build/vs2010/Lol.Core.Vars.props +++ b/build/vs2010/Lol.Core.Vars.props @@ -16,7 +16,7 @@ $(SdlDir)\lib\i686-w64-mingw32;$(SdlImageDir)\lib\i686-w64-mingw32;$(SdlMixerDir)\lib\i686-w64-mingw32 $(SdlDir)\lib\x86_64-w64-mingw32 SDL.lib;SDLmain.lib;SDL_image.lib;SDL_mixer.lib - libSDL.a;libSDLmain.a + libSDL.a;libSDLmain.a;winmm.lib;dxguid.lib HAVE_SDL_H;USE_SDL;$(Win32Defines)