From 950dfa7923f62297429e49a135e4fb363447366d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Remko=20Tron=C3=A7on?= <git@el-tramo.be>
Date: Tue, 27 Mar 2012 20:29:47 +0200
Subject: Split linkflags on spaces.


diff --git a/BuildTools/SCons/SConscript.boot b/BuildTools/SCons/SConscript.boot
index dc8a8a5..f7956b5 100644
--- a/BuildTools/SCons/SConscript.boot
+++ b/BuildTools/SCons/SConscript.boot
@@ -117,7 +117,12 @@ else :
 if "link" in env :
 	env["SHLINK"] = env["link"]
 	env["LINK"] = env["link"]
-env["LINKFLAGS"] = env.get("linkflags", [])
+linkflags = env.get("linkflags", [])
+if isinstance(linkflags, str) :
+	# FIXME: Make the splitting more robust
+	env["LINKFLAGS"] = linkflags.split(" ")
+else :
+	env["LINKFLAGS"] = linkflags
 # This isn't a real flag (yet) AFAIK. Be sure to append it to the CXXFLAGS
 # where you need it
 env["OBJCCFLAGS"] = []
-- 
cgit v0.10.2-6-g49f6