summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2011-04-30 08:37:19 (GMT)
committerRemko Tronçon <git@el-tramo.be>2011-04-30 08:38:18 (GMT)
commitef641a262d27ef027de3e69733200044e13d02c5 (patch)
treecf0100377ae426d40e9c0cd63c89007d940df2c7
parentdcd86c07e1ecccec63d9076a1ad2f9caf09067c0 (diff)
downloadswift-contrib-ef641a262d27ef027de3e69733200044e13d02c5.zip
swift-contrib-ef641a262d27ef027de3e69733200044e13d02c5.tar.bz2
Avoid SCons adding .so suffix.
-rw-r--r--Swiften/SConscript1
1 files changed, 1 insertions, 0 deletions
diff --git a/Swiften/SConscript b/Swiften/SConscript
index 17294f9..641aadc 100644
--- a/Swiften/SConscript
+++ b/Swiften/SConscript
@@ -202,6 +202,7 @@ if env["SCONS_STAGE"] == "build" :
myenv = swiften_env.Clone()
if ARGUMENTS.get("swiften_dll", False) and myenv["PLATFORM"] == "posix" :
myenv.Append(LINKFLAGS = ["-Wl,-soname,$SWIFTEN_LIBRARY_NAME"])
+ myenv["SHLIBSUFFIX"] = ""
swiften_lib = myenv.SwiftenLibrary(swiften_env["SWIFTEN_LIBRARY_NAME"], sources + swiften_env["SWIFTEN_OBJECTS"])
def symlink(env, target, source) :
if os.path.exists(str(target[0])) :