mirror of
https://github.com/joel16/SDL2.git
synced 2024-12-04 01:01:07 +00:00
I'm not sure this is a good idea yet, since it adds a unicows.dll redistribution requirement on windows, but adding unicows allows SDL 1.3 to run on Windows 98.
--HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402420
This commit is contained in:
parent
1be5906ea3
commit
ebb5b5a02b
@ -2172,7 +2172,7 @@ case "$host" in
|
|||||||
ARCH=win32
|
ARCH=win32
|
||||||
if test "$build" != "$host"; then # cross-compiling
|
if test "$build" != "$host"; then # cross-compiling
|
||||||
# Default cross-compile location
|
# Default cross-compile location
|
||||||
ac_default_prefix=/usr/local/cross-tools/i386-mingw32msvc
|
ac_default_prefix=/usr/local/cross-tools/i386-mingw32
|
||||||
else
|
else
|
||||||
# Look for the location of the tools and install there
|
# Look for the location of the tools and install there
|
||||||
if test "$BUILD_PREFIX" != ""; then
|
if test "$BUILD_PREFIX" != ""; then
|
||||||
@ -2253,7 +2253,7 @@ AC_HELP_STRING([--enable-render-d3d], [enable the Direct3D render driver [[defau
|
|||||||
have_loadso=yes
|
have_loadso=yes
|
||||||
fi
|
fi
|
||||||
# Set up the system libraries we need
|
# Set up the system libraries we need
|
||||||
EXTRA_LDFLAGS="$EXTRA_LDFLAGS -luser32 -lgdi32 -lmsimg32 -lwinmm"
|
EXTRA_LDFLAGS="$EXTRA_LDFLAGS -lunicows -luser32 -lgdi32 -lmsimg32 -lwinmm"
|
||||||
# The Win32 platform requires special setup
|
# The Win32 platform requires special setup
|
||||||
SDLMAIN_SOURCES="$srcdir/src/main/win32/*.c"
|
SDLMAIN_SOURCES="$srcdir/src/main/win32/*.c"
|
||||||
SDL_CFLAGS="$SDL_CFLAGS -Dmain=SDL_main"
|
SDL_CFLAGS="$SDL_CFLAGS -Dmain=SDL_main"
|
||||||
|
Loading…
Reference in New Issue
Block a user