summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormarynate <mary.w.nate@gmail.com>2015-01-09 11:19:21 +0800
committermarynate <mary.w.nate@gmail.com>2015-01-09 11:20:02 +0800
commite2f5cf3ef0962e0867cd44ea3e7727bb075ffe91 (patch)
treeacc4fbb56c100c50f5e8be3747b67e1d95720eb2
parent0c2222188e7d9b9c2bcae8186c7a164b50000dc3 (diff)
Fix compile error when tools=no
-rw-r--r--tools/SCsub6
1 files changed, 2 insertions, 4 deletions
diff --git a/tools/SCsub b/tools/SCsub
index 4d8b05fe79..ce7df2c35b 100644
--- a/tools/SCsub
+++ b/tools/SCsub
@@ -13,11 +13,9 @@ if (env["tools"]!="no"):
SConscript('freetype/SCsub');
SConscript('doc/SCsub')
SConscript('pck/SCsub')
-
+ lib = env.Library("tool",env.tool_sources)
-lib = env.Library("tool",env.tool_sources)
-
-env.Prepend(LIBS=[lib])
+ env.Prepend(LIBS=[lib])