configure.in
changeset 7234 fa967628d5e9
parent 7222 2435b221d77d
child 7235 80fefd4af771
equal deleted inserted replaced
7233:8be254bba36a 7234:fa967628d5e9
  2409             AC_DEFINE(SDL_LOADSO_WINDOWS, 1, [ ])
  2409             AC_DEFINE(SDL_LOADSO_WINDOWS, 1, [ ])
  2410             SOURCES="$SOURCES $srcdir/src/loadso/windows/*.c"
  2410             SOURCES="$SOURCES $srcdir/src/loadso/windows/*.c"
  2411             have_loadso=yes
  2411             have_loadso=yes
  2412         fi
  2412         fi
  2413         # Set up the system libraries we need
  2413         # Set up the system libraries we need
  2414         # SDL is unicode, and unicows emulates this on Windows 98/ME
  2414         EXTRA_LDFLAGS="$EXTRA_LDFLAGS -luser32 -lgdi32 -lwinmm -limm32 -lole32 -loleaut32 -lshell32 -lversion -luuid -static-libgcc"
  2415         # You can get this here: http://libunicows.sourceforge.net/
       
  2416         #EXTRA_LDFLAGS="$EXTRA_LDFLAGS -lunicows"
       
  2417         EXTRA_LDFLAGS="$EXTRA_LDFLAGS -luser32 -lgdi32 -lwinmm -limm32 -lole32 -loleaut32 -lversion -luuid"
       
  2418         # The Windows platform requires special setup
  2415         # The Windows platform requires special setup
  2419         VERSION_SOURCES="$srcdir/src/main/windows/*.rc"
  2416         VERSION_SOURCES="$srcdir/src/main/windows/*.rc"
  2420         SDLMAIN_SOURCES="$srcdir/src/main/windows/*.c"
  2417         SDLMAIN_SOURCES="$srcdir/src/main/windows/*.c"
  2421         SDL_CFLAGS="$SDL_CFLAGS -Dmain=SDL_main"
  2418         SDL_CFLAGS="$SDL_CFLAGS -Dmain=SDL_main"
  2422         SDL_LIBS="-lmingw32 -lSDL2main $SDL_LIBS -mwindows"
  2419         SDL_LIBS="-lmingw32 -lSDL2main $SDL_LIBS -mwindows"