summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorVincent Sanders <vince@netsurf-browser.org>2009-02-27 09:56:02 +0000
committerVincent Sanders <vince@netsurf-browser.org>2009-02-27 09:56:02 +0000
commit02de9ff8db9da733807323a9c392311956b3385c (patch)
treed87ac3ed26d3b787d2b0ec28ddff79d57813e804 /Makefile
parent4cf1a9f36b81bd6e5f3040cd086033da06763ab6 (diff)
downloadnetsurf-02de9ff8db9da733807323a9c392311956b3385c.tar.gz
netsurf-02de9ff8db9da733807323a9c392311956b3385c.tar.bz2
Improve freetype build integration (from hiyuh)
Improve error checking on font initialization svn path=/trunk/netsurf/; revision=6655
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
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