summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2013-09-13 21:48:56 (GMT)
committerRemko Tronçon <git@el-tramo.be>2013-09-14 08:17:51 (GMT)
commitab2f797871abd688df5f393e3e75417facfb1bb0 (patch)
tree5687aa753fa691f09f660c6b5d50426cf3b9bc21
parent9577ec0f7faaad3c3b6b74b2db2cf5a3d6ef2db5 (diff)
downloadswift-ab2f797871abd688df5f393e3e75417facfb1bb0.zip
swift-ab2f797871abd688df5f393e3e75417facfb1bb0.tar.bz2
Fix install name of libSwiften.dylib on OS X
Change-Id: I4449c663154de62a26b532754968cae4f0f4642c
-rw-r--r--Swiften/SConscript2
1 files changed, 1 insertions, 1 deletions
diff --git a/Swiften/SConscript b/Swiften/SConscript
index 0e7bb51..a8daac5 100644
--- a/Swiften/SConscript
+++ b/Swiften/SConscript
@@ -303,7 +303,7 @@ if env["SCONS_STAGE"] == "build" :
myenv.Append(LINKFLAGS = ["-Wl,-soname,libSwiften.so.$SWIFTEN_VERSION_MAJOR"])
myenv["SHLIBSUFFIX"] = ""
elif myenv["PLATFORM"] == "darwin" :
- myenv.Append(LINKFLAGS = ["-Wl,-install_name,libSwiften.so.$SWIFTEN_VERSION_MAJOR", "-Wl,-compatibility_version,${SWIFTEN_VERSION_MAJOR}.${SWIFTEN_VERSION_MINOR}", "-Wl,-current_version,${SWIFTEN_VERSION_MAJOR}.${SWIFTEN_VERSION_MINOR}"])
+ myenv.Append(LINKFLAGS = ["-Wl,-install_name,${SHLIBPREFIX}Swiften.${SWIFTEN_VERSION_MAJOR}${SHLIBSUFFIX}", "-Wl,-compatibility_version,${SWIFTEN_VERSION_MAJOR}.${SWIFTEN_VERSION_MINOR}", "-Wl,-current_version,${SWIFTEN_VERSION_MAJOR}.${SWIFTEN_VERSION_MINOR}"])
elif myenv["PLATFORM"] == "win32" :
res_env = myenv.Clone()
res_env.Append(CPPDEFINES = [