summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2009-08-17 18:13:26 (GMT)
committerRemko Tronçon <git@el-tramo.be>2009-08-17 18:13:26 (GMT)
commitb58fbe0240a18d2cc7a88d2dc259afb11c079391 (patch)
tree29ad68b018ae3cd9a2be971448c3bf6c97394385 /Swiften/SConscript
parenteec0a68b1a23feba9e54cbc47df62042208f91a1 (diff)
downloadswift-b58fbe0240a18d2cc7a88d2dc259afb11c079391.zip
swift-b58fbe0240a18d2cc7a88d2dc259afb11c079391.tar.bz2
Add Bonjour configuration option.
Diffstat (limited to 'Swiften/SConscript')
-rw-r--r--Swiften/SConscript3
1 files changed, 2 insertions, 1 deletions
diff --git a/Swiften/SConscript b/Swiften/SConscript
index 4a4ad86..c849927 100644
--- a/Swiften/SConscript
+++ b/Swiften/SConscript
@@ -11,6 +11,7 @@ myenv.MergeFlags(env["LIBIDN_FLAGS"])
myenv.MergeFlags(env["SQLITE_FLAGS"])
myenv.MergeFlags(env.get("LIBXML_FLAGS", ""))
myenv.MergeFlags(env.get("EXPAT_FLAGS", ""))
+myenv.MergeFlags(env.get("BONJOUR_FLAGS", ""))
myenv.MergeFlags(env["ZLIB_FLAGS"])
myenv.MergeFlags(env["OPENSSL_FLAGS"])
@@ -163,7 +164,7 @@ if env["PLATFORM"] == "darwin" :
"EventLoop/Cocoa/CocoaEvent.mm"
]
-if env["PLATFORM"] == "darwin" :
+if myenv.get("HAVE_BONJOUR", 0) :
myenv.Append(CPPDEFINES = "HAVE_BONJOUR")
sources += [
"LinkLocal/DNSSD/Bonjour/BonjourQuerier.cpp",