summaryrefslogtreecommitdiffstats
path: root/Sluift
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2011-04-22 21:24:57 (GMT)
committerRemko Tronçon <git@el-tramo.be>2011-04-22 21:29:00 (GMT)
commita3c9486f2f593220f5a9d4c4e57ac2bc7aa5bbf9 (patch)
tree505a2018aa28ef83828903ddae07a3ddbb07bd8e /Sluift
parent1fe811468562aaf9cf1583997fb0894c0f56da15 (diff)
downloadswift-a3c9486f2f593220f5a9d4c4e57ac2bc7aa5bbf9.zip
swift-a3c9486f2f593220f5a9d4c4e57ac2bc7aa5bbf9.tar.bz2
Fixed SCons not picking up the build version correctly in tarball build.
Diffstat (limited to 'Sluift')
-rw-r--r--Sluift/SConscript2
1 files changed, 1 insertions, 1 deletions
diff --git a/Sluift/SConscript b/Sluift/SConscript
index 19255f1..576eae5 100644
--- a/Sluift/SConscript
+++ b/Sluift/SConscript
@@ -23,7 +23,7 @@ if env["SCONS_STAGE"] == "build" :
elif myenv["PLATFORM"] == "darwin" :
myenv["SHLIBSUFFIX"] = ".so"
- myenv["SLUIFT_VERSION"] = Version.getBuildVersion("sluift")
+ myenv["SLUIFT_VERSION"] = Version.getBuildVersion(env.Dir("#").abspath, "sluift")
def patchLua(env, target, source) :
f = open(source[0].abspath, "r")
contents = f.read()