fix link with SDL_ttf when cross compiling for windows

This commit is contained in:
Thomas Bernard 2018-06-25 10:19:23 +02:00
parent c6fdb6064c
commit b6dec6d3f7

View File

@ -535,10 +535,14 @@ ifeq ($(NOTTF),1)
else
ifneq ($(ATARICROSS),1)
TTFCOPT =
TTFLOPT =
ifneq ($(WIN32CROSS),1)
TTFLOPT += -L$(PREFIX)/lib
endif
ifeq ($(API),sdl)
TTFLOPT = -L$(PREFIX)/lib -lSDL_ttf $(FCLOPT)
TTFLOPT += -lSDL_ttf $(FCLOPT)
else
TTFLOPT = -L$(PREFIX)/lib -lSDL2_ttf $(FCLOPT)
TTFLOPT += -lSDL2_ttf $(FCLOPT)
endif
TTFLIBS = bin/libfreetype-6.dll bin/SDL_ttf.dll
TTFLABEL =