summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2017-06-25 10:42:04 +0200
committerGitHub <noreply@github.com>2017-06-25 10:42:04 +0200
commit41bbf106e69732f2a26c6e02184faf28ea61fda4 (patch)
treec386e334188a2004acbe91a3bcc4c18d1d67ddfa /modules
parenta2e4b80ff5649504ed4bdc4b4c7f39c19ae6db6a (diff)
parent0f8cc0fa5b6bc53b81fbf3fe52c15be987dfd7c2 (diff)
Merge pull request #9349 from volzhs/freetype-2.8
Update freetype to 2.8
Diffstat (limited to 'modules')
-rw-r--r--modules/freetype/SCsub6
1 files changed, 6 insertions, 0 deletions
diff --git a/modules/freetype/SCsub b/modules/freetype/SCsub
index 8401c36b54..6a89e8e087 100644
--- a/modules/freetype/SCsub
+++ b/modules/freetype/SCsub
@@ -34,10 +34,13 @@ if (env['builtin_freetype'] != 'no'):
"src/base/fttype1.c",
"src/base/ftwinfnt.c",
"src/bdf/bdf.c",
+ "src/bzip2/ftbzip2.c",
"src/cache/ftcache.c",
"src/cff/cff.c",
"src/cid/type1cid.c",
"src/gxvalid/gxvalid.c",
+ "src/gzip/ftgzip.c",
+ "src/lzw/ftlzw.c",
"src/otvalid/otvalid.c",
"src/pcf/pcf.c",
"src/pfr/pfr.c",
@@ -77,6 +80,9 @@ if (env['builtin_freetype'] != 'no'):
break
if not inserted:
env.Append(LIBS=[lib])
+ env.Append(CCFLAGS=['-DFT2_BUILD_LIBRARY'])
+ if (env['target'] != 'release'):
+ env.Append(CCFLAGS=['-DZLIB_DEBUG'])
# Godot source files
env.add_source_files(env.modules_sources, "*.cpp")