configure.in
changeset 8236 751605725282
parent 8197 7e9a477d3e07
child 8271 534b8f81d519
equal deleted inserted replaced
8235:cc1d377f014a 8236:751605725282
  2858             AC_DEFINE(SDL_LOADSO_WINDOWS, 1, [ ])
  2858             AC_DEFINE(SDL_LOADSO_WINDOWS, 1, [ ])
  2859             SOURCES="$SOURCES $srcdir/src/loadso/windows/*.c"
  2859             SOURCES="$SOURCES $srcdir/src/loadso/windows/*.c"
  2860             have_loadso=yes
  2860             have_loadso=yes
  2861         fi
  2861         fi
  2862         # Set up the system libraries we need
  2862         # Set up the system libraries we need
  2863         EXTRA_LDFLAGS="$EXTRA_LDFLAGS -luser32 -lgdi32 -lwinmm -limm32 -lole32 -loleaut32 -lshell32 -lversion -luuid -XCClinker -static-libgcc"
  2863         if [ -f /lib/w32api/libuuid.a ]; then
       
  2864             LIBUUID=/lib/w32api/libuuid.a
       
  2865         else
       
  2866             LIBUUID=-luuid
       
  2867         fi
       
  2868         EXTRA_LDFLAGS="$EXTRA_LDFLAGS -luser32 -lgdi32 -lwinmm -limm32 -lole32 -loleaut32 -lshell32 -lversion $LIBUUID -XCClinker -static-libgcc"
  2864         # The Windows platform requires special setup
  2869         # The Windows platform requires special setup
  2865         VERSION_SOURCES="$srcdir/src/main/windows/*.rc"
  2870         VERSION_SOURCES="$srcdir/src/main/windows/*.rc"
  2866         SDLMAIN_SOURCES="$srcdir/src/main/windows/*.c"
  2871         SDLMAIN_SOURCES="$srcdir/src/main/windows/*.c"
  2867         SDL_CFLAGS="$SDL_CFLAGS -Dmain=SDL_main"
  2872         SDL_CFLAGS="$SDL_CFLAGS -Dmain=SDL_main"
  2868         SDL_LIBS="-lSDL2main $SDL_LIBS -mwindows"
  2873         SDL_LIBS="-lSDL2main $SDL_LIBS -mwindows"