First whack at getting FREETYPE2 stuff added to the
old and autoconf makefiles. My machine seems to have messed up libs so I can't test it, its a start though :) Kent
This commit is contained in:
@@ -58,6 +58,8 @@ CPPFLAGS += -I../../bpython/include
|
|||||||
CPPFLAGS += -I../../avi
|
CPPFLAGS += -I../../avi
|
||||||
CPPFLAGS += -I$(NAN_GUARDEDALLOC)/include
|
CPPFLAGS += -I$(NAN_GUARDEDALLOC)/include
|
||||||
|
|
||||||
|
CPPFLAGS += -I$(NAN_FREETYPE)/include/freetype2
|
||||||
|
|
||||||
# we still refer to /include a bit...
|
# we still refer to /include a bit...
|
||||||
CPPFLAGS += -I../../include
|
CPPFLAGS += -I../../include
|
||||||
|
|
||||||
|
@@ -48,4 +48,6 @@ CPPFLAGS += -I../../makesdna
|
|||||||
CPPFLAGS += -I..
|
CPPFLAGS += -I..
|
||||||
# path to the guarded memory allocator
|
# path to the guarded memory allocator
|
||||||
CPPFLAGS += -I$(NAN_GUARDEDALLOC)/include
|
CPPFLAGS += -I$(NAN_GUARDEDALLOC)/include
|
||||||
|
# path to freetype font stuff
|
||||||
|
CPPFLAGS += -I$(NAN_FREETYPE)/include/freetype2
|
||||||
|
CPPFLAGS += -I../../include/
|
||||||
|
@@ -37,6 +37,11 @@ ifdef NAN_DEBUG
|
|||||||
LDFLAGS += $(NAN_DEBUG)
|
LDFLAGS += $(NAN_DEBUG)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifdef WITH_FREETYPE2
|
||||||
|
LDFLAGS += -L$(NAN_FREETYPE)/lib -lfreetype
|
||||||
|
endif
|
||||||
|
|
||||||
|
|
||||||
DBG_LDFLAGS += -g
|
DBG_LDFLAGS += -g
|
||||||
|
|
||||||
ifneq (x$(DEBUG_DIR), x)
|
ifneq (x$(DEBUG_DIR), x)
|
||||||
|
Reference in New Issue
Block a user