summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct4
1 files changed, 4 insertions, 0 deletions
diff --git a/SConstruct b/SConstruct
index bbb0aca..1a737ed 100644
--- a/SConstruct
+++ b/SConstruct
@@ -94,6 +94,10 @@ if env["PLATFORM"] == "win32" :
if env["PLATFORM"] == "darwin" :
env.Append(FRAMEWORKS = "AppKit")
+# Packaging
+if ARGUMENTS.get("SWIFT_INSTALLDIR", "") :
+ env["SWIFT_INSTALLDIR"] = Dir(ARGUMENTS["SWIFT_INSTALLDIR"]).abspath
+
conf_env = env.Clone()
Export("env")