Changeset 638


Ignore:
Timestamp:
Feb 12, 2011, 12:01:22 AM (10 years ago)
Author:
sam
Message:

Only link with -lGL if present on the system. Fixes the MinGW build.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/configure.ac

    r632 r638  
    6767PKG_CHECK_MODULES(SDL, sdl, [:],
    6868 [SDL_LIBS="${SDL_LIBS} -lSDL"])
    69 SDL_LIBS="${SDL_LIBS} -lGL" # FIXME: quite hackish
     69AC_CHECK_LIB(GL, glLoadIdentity, SDL_LIBS="${SDL_LIBS} -lGL") # FIXME: hackish
    7070PKG_CHECK_MODULES(SDLMIXER, SDL_mixer, [:],
    7171 [SDLMIXER_LIBS="${SDLMIXER_LIBS} -lSDL_mixer"])
Note: See TracChangeset for help on using the changeset viewer.