From 3bcabdb3c42ae66b615dfe611ec117695709dd8c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Remko=20Tron=C3=A7on?= Date: Sat, 21 Nov 2009 10:28:39 +0100 Subject: ldflags -> linkflags diff --git a/SConstruct b/SConstruct index 728e3c5..1559e0a 100644 --- a/SConstruct +++ b/SConstruct @@ -7,7 +7,7 @@ sys.path.append(Dir("BuildTools/SCons").abspath) vars = Variables("config.py") vars.Add('ccflags', "Extra C(++) compiler flags") -vars.Add('ldflags', "Extra linker flags") +vars.Add('linkflags', "Extra linker flags") vars.Add(EnumVariable("test", "Compile and run tests", "none", ["none", "all", "unit", "system"])) vars.Add(BoolVariable("optimize", "Compile with optimizations turned on", "no")) vars.Add(BoolVariable("debug", "Compile with debug information", "yes" if os.name != "nt" else "no")) @@ -48,7 +48,7 @@ if env["PLATFORM"] == "win32" : # Default compiler flags env["CCFLAGS"] = env.get("ccflags", []) -env["LDFLAGS"] = env.get("ldflags", []) +env["LINKFLAGS"] = env.get("linkflags", []) if env["optimize"] : env.Append(CCFLAGS = "-O2") if env["PLATFORM"] == "win32" : -- cgit v0.10.2-6-g49f6