SDL2: fix link with SDL2_ttf lib
This commit is contained in:
parent
3b69ccb1ec
commit
b4f4fcf51d
29
src/Makefile
29
src/Makefile
@ -527,27 +527,28 @@ endif
|
|||||||
### the "overridable defaults", and environment variables set before launching make
|
### the "overridable defaults", and environment variables set before launching make
|
||||||
|
|
||||||
#TrueType is optional: make NOTTF=1 to disable support and dependencies.
|
#TrueType is optional: make NOTTF=1 to disable support and dependencies.
|
||||||
ifndef ($(ATARICROSS,1))
|
ifeq ($(NOTTF),1)
|
||||||
ifeq ($(NOTTF),1)
|
TTFCOPT = -DNOTTF=1
|
||||||
TTFCOPT = -DNOTTF=1
|
TTFLOPT =
|
||||||
TTFLOPT =
|
TTFLIBS =
|
||||||
TTFLIBS =
|
TTFLABEL = -nottf
|
||||||
TTFLABEL = -nottf
|
else
|
||||||
else
|
ifneq ($(ATARICROSS),1)
|
||||||
TTFCOPT =
|
TTFCOPT =
|
||||||
|
ifeq ($(API),sdl)
|
||||||
TTFLOPT = -L$(PREFIX)/lib -lSDL_ttf $(FCLOPT)
|
TTFLOPT = -L$(PREFIX)/lib -lSDL_ttf $(FCLOPT)
|
||||||
|
else
|
||||||
|
TTFLOPT = -L$(PREFIX)/lib -lSDL2_ttf $(FCLOPT)
|
||||||
|
endif
|
||||||
TTFLIBS = bin/libfreetype-6.dll bin/SDL_ttf.dll
|
TTFLIBS = bin/libfreetype-6.dll bin/SDL_ttf.dll
|
||||||
TTFLABEL =
|
TTFLABEL =
|
||||||
endif
|
|
||||||
else
|
|
||||||
ifeq ($(NOTTF),1)
|
|
||||||
TTFCOPT = -DNOTTF=1
|
|
||||||
TTFLOPT =
|
|
||||||
TTFLIBS =
|
|
||||||
TTFLABEL = -nottf
|
|
||||||
else
|
else
|
||||||
TTFCOPT =
|
TTFCOPT =
|
||||||
|
ifeq ($(API),sdl)
|
||||||
TTFLOPT = -L$(PREFIX)/lib -lSDL_ttf $(FCLOPT)
|
TTFLOPT = -L$(PREFIX)/lib -lSDL_ttf $(FCLOPT)
|
||||||
|
else
|
||||||
|
TTFLOPT = -L$(PREFIX)/lib -lSDL2_ttf $(FCLOPT)
|
||||||
|
endif
|
||||||
TTFLIBS =
|
TTFLIBS =
|
||||||
TTFLABEL =
|
TTFLABEL =
|
||||||
endif
|
endif
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user