summaryrefslogtreecommitdiff
path: root/modules/freetype
diff options
context:
space:
mode:
authorRhody Lugo <rhodylugo@gmail.com>2017-11-28 16:27:57 -0400
committerRhody Lugo <rhodylugo@gmail.com>2017-11-28 23:24:12 -0400
commita65c0939fd1adc616275ad01996917fab89a7b9c (patch)
tree60fb5469a28c4ec482b8d3b9cad183daa1b654d1 /modules/freetype
parent24baf79c5e30b75f8370c24239a00085d7ad803f (diff)
disable caching for targets using helper functions
Diffstat (limited to 'modules/freetype')
-rw-r--r--modules/freetype/SCsub3
1 files changed, 1 insertions, 2 deletions
diff --git a/modules/freetype/SCsub b/modules/freetype/SCsub
index 9169c7d674..f69b632e76 100644
--- a/modules/freetype/SCsub
+++ b/modules/freetype/SCsub
@@ -68,8 +68,7 @@ if env['builtin_freetype']:
if env['builtin_libpng']:
env.Append(CPPPATH=["#thirdparty/libpng"])
- lib = env.Library("freetype_builtin", thirdparty_sources)
- env.NoCache(lib)
+ lib = env.add_library("freetype_builtin", thirdparty_sources)
# Needs to be appended to arrive after libscene in the linker call,
# but we don't want it to arrive *after* system libs, so manual hack
# LIBS contains first SCons Library objects ("SCons.Node.FS.File object")