configure.in
changeset 8236 751605725282
parent 8197 7e9a477d3e07
child 8271 534b8f81d519
     1.1 --- a/configure.in	Fri Feb 21 13:57:53 2014 +0000
     1.2 +++ b/configure.in	Sat Feb 22 15:34:31 2014 -0800
     1.3 @@ -2860,7 +2860,12 @@
     1.4              have_loadso=yes
     1.5          fi
     1.6          # Set up the system libraries we need
     1.7 -        EXTRA_LDFLAGS="$EXTRA_LDFLAGS -luser32 -lgdi32 -lwinmm -limm32 -lole32 -loleaut32 -lshell32 -lversion -luuid -XCClinker -static-libgcc"
     1.8 +        if [ -f /lib/w32api/libuuid.a ]; then
     1.9 +            LIBUUID=/lib/w32api/libuuid.a
    1.10 +        else
    1.11 +            LIBUUID=-luuid
    1.12 +        fi
    1.13 +        EXTRA_LDFLAGS="$EXTRA_LDFLAGS -luser32 -lgdi32 -lwinmm -limm32 -lole32 -loleaut32 -lshell32 -lversion $LIBUUID -XCClinker -static-libgcc"
    1.14          # The Windows platform requires special setup
    1.15          VERSION_SOURCES="$srcdir/src/main/windows/*.rc"
    1.16          SDLMAIN_SOURCES="$srcdir/src/main/windows/*.c"