OSX: allow make bundle with static freetype2 library

This commit is contained in:
Paweł Kołodziejski 2012-03-21 06:36:40 +01:00
parent 3c3576a224
commit fb3ac5a5ec
2 changed files with 4 additions and 1 deletions

2
configure vendored
View File

@ -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)

View File

@ -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