summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2015-01-09 08:40:07 -0300
committerJuan Linietsky <reduzio@gmail.com>2015-01-09 08:40:07 -0300
commit0a6f409323eda5d1ae2c968bbd482c8af1370466 (patch)
tree9f4cfbcafb618902a649bbee3bb476e0b80e0458
parentbfd0d1448e52ccbb6c7586ebbf1a4413f24da458 (diff)
parente2f5cf3ef0962e0867cd44ea3e7727bb075ffe91 (diff)
Merge pull request #1156 from marynate/PR-fix-compile-tools-no
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])