diff options
-rw-r--r-- | tools/Makefile | 2 | ||||
-rw-r--r-- | tools/tools.make | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tools/Makefile b/tools/Makefile index d63be9e919..92af254fcd 100644 --- a/tools/Makefile +++ b/tools/Makefile @@ -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" diff --git a/tools/tools.make b/tools/tools.make index 3350ad03bc..483d306950 100644 --- a/tools/tools.make +++ b/tools/tools.make @@ -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 |