From e14c47d6f57e514173a5b3467dd6e4a3b4ae7eee Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Mon, 7 Mar 2011 22:03:11 -0800 Subject: [PATCH] Fixed the libraries linked with Visual Studio 2010, the msimg library isn't needed anymore. --- VisualC/SDL/SDL_VS2010.vcxproj | 14 +++++++------- configure.in | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/VisualC/SDL/SDL_VS2010.vcxproj b/VisualC/SDL/SDL_VS2010.vcxproj index 5da0fa57e..f3175a326 100644 --- a/VisualC/SDL/SDL_VS2010.vcxproj +++ b/VisualC/SDL/SDL_VS2010.vcxproj @@ -98,7 +98,7 @@ 0x0409 - msvcrt.lib;msimg32.lib;version.lib;winmm.lib;imm32.lib;%(AdditionalDependencies) + winmm.lib;imm32.lib;version.lib;%(AdditionalDependencies) $(IntDir)SDL.dll true true @@ -117,7 +117,7 @@ Disabled ..\..\include;%(AdditionalIncludeDirectories) - _DEBUG;_WINDOWS;_WIN32_WINNT=0x0400;__SSE__;__SSE2__;%(PreprocessorDefinitions) + _DEBUG;_WINDOWS;%(PreprocessorDefinitions) MultiThreadedDLL false @@ -130,7 +130,7 @@ 0x0409 - msimg32.lib;winmm.lib;%(AdditionalDependencies) + winmm.lib;imm32.lib;version.lib;%(AdditionalDependencies) $(IntDir)SDL.dll true true @@ -168,7 +168,7 @@ 0x0409 - msimg32.lib;winmm.lib;%(AdditionalDependencies) + winmm.lib;imm32.lib;version.lib;%(AdditionalDependencies) $(IntDir)SDL.dll true Windows @@ -186,7 +186,7 @@ OnlyExplicitInline false ..\..\include;%(AdditionalIncludeDirectories) - NDEBUG;_WINDOWS;_WIN32_WINNT=0x0400;__SSE__;__SSE2__;%(PreprocessorDefinitions) + NDEBUG;_WINDOWS;%(PreprocessorDefinitions) true MultiThreadedDLL false @@ -200,7 +200,7 @@ 0x0409 - msimg32.lib;winmm.lib;%(AdditionalDependencies) + winmm.lib;imm32.lib;version.lib;%(AdditionalDependencies) $(IntDir)SDL.dll true Windows @@ -446,4 +446,4 @@ - + \ No newline at end of file diff --git a/configure.in b/configure.in index 1b1884d67..1ebd4b56e 100644 --- a/configure.in +++ b/configure.in @@ -2200,7 +2200,7 @@ AC_HELP_STRING([--enable-render-d3d], [enable the Direct3D render driver [[defau # SDL 1.3 is unicode, and unicows emulates this on Windows 98/ME # You can get this here: http://libunicows.sourceforge.net/ #EXTRA_LDFLAGS="$EXTRA_LDFLAGS -lunicows" - EXTRA_LDFLAGS="$EXTRA_LDFLAGS -luser32 -lgdi32 -lmsimg32 -lwinmm -limm32 -lole32 -loleaut32 -lversion -luuid" + EXTRA_LDFLAGS="$EXTRA_LDFLAGS -luser32 -lgdi32 -lwinmm -limm32 -lole32 -loleaut32 -lversion -luuid" # The Windows platform requires special setup VERSION_SOURCES="$srcdir/src/main/windows/*.rc" SDLMAIN_SOURCES="$srcdir/src/main/windows/*.c"