diff options
author | Vincent Sanders <vince@netsurf-browser.org> | 2009-02-27 09:56:02 +0000 |
---|---|---|
committer | Vincent Sanders <vince@netsurf-browser.org> | 2009-02-27 09:56:02 +0000 |
commit | 02de9ff8db9da733807323a9c392311956b3385c (patch) | |
tree | d87ac3ed26d3b787d2b0ec28ddff79d57813e804 /Makefile | |
parent | 4cf1a9f36b81bd6e5f3040cd086033da06763ab6 (diff) | |
download | netsurf-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-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |