summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2012-09-16 08:18:53 (GMT)
committerRemko Tronçon <git@el-tramo.be>2012-09-16 08:18:53 (GMT)
commit2c7fb800745172e2d190d15e556fb59f3a930fa1 (patch)
tree68491462ee1766df463a370af4140fe45680ee98 /3rdParty
parentea1d9d7517f6a14ffb9bbd71ade78603135e8c55 (diff)
downloadswift-2c7fb800745172e2d190d15e556fb59f3a930fa1.zip
swift-2c7fb800745172e2d190d15e556fb59f3a930fa1.tar.bz2
Start including some bundled libraries in Swiften library.
Diffstat (limited to '3rdParty')
-rw-r--r--3rdParty/Expat/SConscript2
-rw-r--r--3rdParty/LibIDN/SConscript4
2 files changed, 2 insertions, 4 deletions
diff --git a/3rdParty/Expat/SConscript b/3rdParty/Expat/SConscript
index 2898be4..9e329f4 100644
--- a/3rdParty/Expat/SConscript
+++ b/3rdParty/Expat/SConscript
@@ -19,7 +19,7 @@ if env.get("EXPAT_BUNDLED", False) :
myenv.Append(CPPDEFINES = ["HAVE_MEMMOVE"])
conf.Finish()
- myenv.StaticLibrary("Swiften_Expat", [
+ env["EXPAT_OBJECTS"] = myenv.StaticObject([
"src/xmltok.c",
"src/xmlparse.c",
"src/xmlrole.c"
diff --git a/3rdParty/LibIDN/SConscript b/3rdParty/LibIDN/SConscript
index 3f88bfc..9d4822d 100644
--- a/3rdParty/LibIDN/SConscript
+++ b/3rdParty/LibIDN/SConscript
@@ -10,8 +10,6 @@ if env.get("LIBIDN_BUNDLED", False) :
env["LIBIDN_FLAGS"] = {
"CPPDEFINES": ["IDNA_STATIC"],
"CPPPATH": [Dir("src")],
- "LIBPATH": [Dir(".")],
- "LIBS": ["Swiften_IDN"],
}
if env["PLATFORM"] == "win32" :
env["LIBIDN_FLAGS"]["CPPPATH"] += [Dir("stubs/win32")]
@@ -51,7 +49,7 @@ if env.get("LIBIDN_BUNDLED", False) :
if myenv["MSVC_VERSION"][:3] == "9.0" :
myenv.Append(CPPPATH = "stubs/win32/VC2008")
- myenv.StaticLibrary("Swiften_IDN", [
+ env["LIBIDN_OBJECTS"] = myenv.StaticObject([
"src/stringprep.c",
"src/profiles.c",
"src/rfc3454.c",