[GB.SDL] fix detection with at least pkgconf 2.4.2

This commit is contained in:
Laurent Carlier 2018-06-06 00:33:06 +02:00
parent b041e381e6
commit acf7242ca1

View File

@ -33,7 +33,7 @@ dnl [$SDL_CFLAGS])
GB_COMPONENT_SEARCH(
sdl, SDL, gb.sdl, [src],
sdl "> 1.2.8" SDL_ttf glew xcursor x11,
'sdl > 1.2.8' SDL_ttf glew xcursor x11,
[GB_FIND(GL/glew.h SDL_ttf.h X11/Xcursor/Xcursor.h, /usr /usr/local `sdl-config --prefix`, include include/SDL)],
[GB_FIND(libSDL_ttf.$SHLIBEXT libGLEW.$SHLIBEXT libXcursor.$SHLIBEXT, /usr /usr/local `sdl-config --prefix`, lib)],
[$X_LIBS -lSDL_ttf -lGLEW -lXcursor],