From fb3ac5a5ec9f5bc95372db97b9d4fc2f8327c8c4 Mon Sep 17 00:00:00 2001 From: Paweł Kołodziejski Date: Wed, 21 Mar 2012 06:36:40 +0100 Subject: OSX: allow make bundle with static freetype2 library --- configure | 2 +- ports.mk | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/configure b/configure index 7cb3987027..82620f3afd 100755 --- a/configure +++ b/configure @@ -3501,7 +3501,7 @@ fi echocheck "FreeType2" echo "$_freetype2" -define_in_config_h_if_yes "$_freetype2" "USE_FREETYPE2" +define_in_config_if_yes "$_freetype2" "USE_FREETYPE2" # # Check for OpenGL (ES) diff --git a/ports.mk b/ports.mk index 419b91581a..40a2972ed5 100644 --- a/ports.mk +++ b/ports.mk @@ -76,6 +76,9 @@ endif ifneq ($(BACKEND), iphone) # Static libaries, used for the scummvm-static and iphone targets OSX_STATIC_LIBS := `$(STATICLIBPATH)/bin/sdl-config --static-libs` +ifdef USE_FREETYPE2 +OSX_STATIC_LIBS += $(STATICLIBPATH)/lib/libfreetype.a $(STATICLIBPATH)/lib/libbz2.a +endif endif ifdef USE_VORBIS -- cgit v1.2.3