fix build against system libfreetype
This commit is contained in:
1 parent
fc29447726
commit
3973f4aaa2
2 files changed
+21
-7
No files matched your search
+8
-1
@@ -46,7 +46,7 @@ BDIR=$(MOUNT_DIR)/../run
|
||||
# BUILD_NAME=$(BUILD_NAME)
|
||||
BUILD_NAME=quake3
|
||||
|
||||
|
||||
BUILD_FREETYPE=0
|
||||
|
||||
#############################################################################
|
||||
##
|
||||
@@ -156,6 +156,13 @@ ifeq ($(PLATFORM),linux)
|
||||
LDFLAGS=-ldl -lm
|
||||
GLLDFLAGS=-L/usr/X11R6/$(LIB) -lX11 -lXext -lXxf86dga -lXxf86vm
|
||||
|
||||
DEBUG_CFLAGS += -DHAVE_EXECINFO_H
|
||||
ifeq ($(BUILD_FREETYPE),1)
|
||||
RELEASE_CFLAGS += $(shell pkg-config --cflags freetype2) -DBUILD_FREETYPE
|
||||
DEBUG_CFLAGS += $(shell pkg-config --cflags freetype2) -DBUILD_FREETYPE
|
||||
LDFLAGS += $(shell pkg-config --libs freetype2)
|
||||
endif
|
||||
|
||||
ifeq ($(ARCH),i386)
|
||||
# linux32 make ...
|
||||
BASE_CFLAGS += -m32
|
||||
|
||||
Reference in new issue
Block a user