From 02de9ff8db9da733807323a9c392311956b3385c Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Fri, 27 Feb 2009 09:56:02 +0000 Subject: Improve freetype build integration (from hiyuh) Improve error checking on font initialization svn path=/trunk/netsurf/; revision=6655 --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 703a2b7b1..3de7426f9 100644 --- a/Makefile +++ b/Makefile @@ -470,8 +470,8 @@ ifeq ($(TARGET),framebuffer) $(eval $(call feature_enabled,MNG,-DWITH_MNG,-lmng,PNG support)) ifeq ($(NETSURF_FB_FONTLIB),freetype) - CFLAGS += -DFB_USE_FREETYPE -I/usr/include/freetype2 - LDFLAGS += -lfreetype + CFLAGS += -DFB_USE_FREETYPE $(shell freetype-config --cflags) + LDFLAGS += $(shell freetype-config --libs) endif # define additional CFLAGS and LDFLAGS requirements for pkg-configed libs here -- cgit v1.2.3