summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorVincent Sanders <vince@netsurf-browser.org>2009-02-20 09:51:21 +0000
committerVincent Sanders <vince@netsurf-browser.org>2009-02-20 09:51:21 +0000
commit0cecbe3cbcef566fb679aed5f0055397cb4c040c (patch)
tree82e0b523e73d5c069060b79b41d697839585b924 /Makefile
parent8aa291df0f63bb152d6d2893f361f6ae06fe06d7 (diff)
downloadnetsurf-0cecbe3cbcef566fb679aed5f0055397cb4c040c.tar.gz
netsurf-0cecbe3cbcef566fb679aed5f0055397cb4c040c.tar.bz2
allow framebuffer port to use freetype2 library
svn path=/trunk/netsurf/; revision=6570
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index d0aa61e15..f0b926b87 100644
--- a/Makefile
+++ b/Makefile
@@ -508,6 +508,11 @@ endif
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
+ endif
+
# define additional CFLAGS and LDFLAGS requirements for pkg-configed libs here
NETSURF_FEATURE_RSVG_CFLAGS := -DWITH_RSVG
NETSURF_FEATURE_ROSPRITE_CFLAGS := -DWITH_NSSPRITE