Win32 build: Fix typo SDLC2ONFIG => SDL2CONFIG

This commit is contained in:
Thomas Bernard 2020-04-11 20:27:27 +02:00
parent 00b42bb45b
commit 297183382d
No known key found for this signature in database
GPG Key ID: 0FF11B67A5C0863C

View File

@ -124,7 +124,7 @@ ifdef COMSPEC
PLATFORMFILES = bin/SDL.dll bin/SDL_image.dll PLATFORMFILES = bin/SDL.dll bin/SDL_image.dll
endif endif
ifeq ($(API),sdl2) ifeq ($(API),sdl2)
SDLC2ONFIG ?= $(shell which ../3rdparty/usr-win32/bin/sdl2-config || which sdl2-config) SDL2CONFIG ?= $(shell which ../3rdparty/usr-win32/bin/sdl2-config || which sdl2-config)
COPT += $(shell $(SDL2CONFIG) --cflags) $(TTFCOPT) $(JOYCOPT) COPT += $(shell $(SDL2CONFIG) --cflags) $(TTFCOPT) $(JOYCOPT)
LOPT += $(shell $(SDL2CONFIG) --libs) -lSDL2_image $(TTFLOPT) LOPT += $(shell $(SDL2CONFIG) --libs) -lSDL2_image $(TTFLOPT)
PLATFORMFILES = bin/SDL2.dll bin/SDL2_image.dll PLATFORMFILES = bin/SDL2.dll bin/SDL2_image.dll