Convttf makefile: Replace freetype-config with pkg-config
Freetype-config has been deprecated and is no longer included in libfreetype-dev. Pkg-config serves as its replacement. Convttf isn't built as part of Rockbox by default, but manually doing so will currently fail even when libfreetype-dev is installed. Change-Id: Iafc31df3b40c11d7c790189eb9d3788ba97d3e54
This commit is contained in:
parent
bdc3dd4fca
commit
05f1006246
2 changed files with 2 additions and 2 deletions
|
@ -94,7 +94,7 @@ usb_benchmark: usb_benchmark.c
|
|||
convttf: convttf.c
|
||||
$(call PRINTS,CC $(@F))
|
||||
$(SILENT)$(CC) $(CFLAGS) -lm -std=c99 -O2 -Wall -g $+ -o $@ \
|
||||
`freetype-config --libs` `freetype-config --cflags`
|
||||
`pkg-config --cflags --libs freetype2`
|
||||
|
||||
clean:
|
||||
@echo "Cleaning tools"
|
||||
|
|
|
@ -38,7 +38,7 @@ $(TOOLSDIR)/uclpack: $(TOOLSDIR)/ucl/uclpack.c $(wildcard $(TOOLSDIR)/ucl/src/*.
|
|||
$(TOOLSDIR)/convttf: $(TOOLSDIR)/convttf.c
|
||||
$(call PRINTS,CC $(@F))
|
||||
$(SILENT)$(HOSTCC) $(TOOLSFLAGS) -lm -O2 -Wall -g $+ -o $@ \
|
||||
`freetype-config --libs` `freetype-config --cflags`
|
||||
`pkg-config --cflags --libs freetype2`
|
||||
|
||||
# implicit rule for simple tools
|
||||
$(TOOLSDIR)/%: $(TOOLSDIR)/%.c
|
||||
|
|
Loading…
Reference in a new issue