configure.in
changeset 7235 80fefd4af771
parent 7234 fa967628d5e9
child 7266 6caad66a4966
equal deleted inserted replaced
7234:fa967628d5e9 7235:80fefd4af771
  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         EXTRA_LDFLAGS="$EXTRA_LDFLAGS -luser32 -lgdi32 -lwinmm -limm32 -lole32 -loleaut32 -lshell32 -lversion -luuid -static-libgcc"
  2414         EXTRA_LDFLAGS="$EXTRA_LDFLAGS -luser32 -lgdi32 -lwinmm -limm32 -lole32 -loleaut32 -lshell32 -lversion -luuid -XCClinker -static-libgcc"
  2415         # The Windows platform requires special setup
  2415         # The Windows platform requires special setup
  2416         VERSION_SOURCES="$srcdir/src/main/windows/*.rc"
  2416         VERSION_SOURCES="$srcdir/src/main/windows/*.rc"
  2417         SDLMAIN_SOURCES="$srcdir/src/main/windows/*.c"
  2417         SDLMAIN_SOURCES="$srcdir/src/main/windows/*.c"
  2418         SDL_CFLAGS="$SDL_CFLAGS -Dmain=SDL_main"
  2418         SDL_CFLAGS="$SDL_CFLAGS -Dmain=SDL_main"
  2419         SDL_LIBS="-lmingw32 -lSDL2main $SDL_LIBS -mwindows"
  2419         SDL_LIBS="-lmingw32 -lSDL2main $SDL_LIBS -mwindows"