blob: cbdaf1ceb59a556a2a80aeda218d81165c13f327 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
--- graphlcd-base-0.1.9/glcdgraphics/Makefile
+++ graphlcd-base-0.1.9/glcdgraphics/Makefile
@@ -33,9 +33,9 @@
-include $(DEPFILE)
ifdef HAVE_FREETYPE2
- ifneq ($(shell which freetype-config),)
- INCLUDES += $(shell freetype-config --cflags)
- LIBS += $(shell freetype-config --libs)
+ ifneq ($(shell which pkg-config),)
+ INCLUDES += $(shell pkg-config --cflags freetype2)
+ LIBS += $(shell pkg-config --libs freetype2)
else
INCLUDES += -I/usr/include/freetype -I/usr/local/include/freetype
LIBS += -lfreetype
--- graphlcd-base-0.1.9/tools/genfont/Makefile
+++ graphlcd-base-0.1.9/tools/genfont/Makefile
@@ -9,10 +9,10 @@
OBJS = genfont.o
INCLUDES += -I../../
-INCLUDES += `freetype-config --cflags`
+INCLUDES += `pkg-config --cflags freetype2`
LIBDIRS += -L../../glcdgraphics/
-LIBS += `freetype-config --libs`
+LIBS += `pkg-config --libs freetype2`
all: $(PRGNAME)
.PHONY: all
|