summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2009-08-13 11:50:44 (GMT)
committerRemko Tronçon <git@el-tramo.be>2009-08-13 12:24:29 (GMT)
commit1f6119ec3e29e27442eaf623f3b1d091cf6ef5ec (patch)
treeb3ac9189d0b7cfe0efa0bcaa4b4100feaa05edb9 /Swiften
parentb6374b7ae064e689924a88b398ca3eb9ed0a379e (diff)
downloadswift-1f6119ec3e29e27442eaf623f3b1d091cf6ef5ec.zip
swift-1f6119ec3e29e27442eaf623f3b1d091cf6ef5ec.tar.bz2
Add Mac App bundle creation tool.
Diffstat (limited to 'Swiften')
-rw-r--r--Swiften/SConscript8
1 files changed, 5 insertions, 3 deletions
diff --git a/Swiften/SConscript b/Swiften/SConscript
index 1c2c8cc..eb60c7e 100644
--- a/Swiften/SConscript
+++ b/Swiften/SConscript
@@ -158,13 +158,15 @@ sources = [
# "Notifier/GrowlNotifier.cpp",
-if myenv.get("HAVE_AVAHI", 0) :
- sources += ["LinkLocal/DNSSD/Avahi/AvahiQuerier.cpp"]
-if myenv.get("HAVE_BONJOUR", 0) :
+if env["PLATFORM"] == "darwin" :
+ myenv.Append(CPPDEFINES = "HAVE_BONJOUR")
sources += [
"LinkLocal/DNSSD/Bonjour/BonjourQuerier.cpp",
"LinkLocal/DNSSD/Bonjour/BonjourQuery.cpp",
]
+elif myenv.get("HAVE_AVAHI", 0) :
+ sources += ["LinkLocal/DNSSD/Avahi/AvahiQuerier.cpp"]
+
if myenv.get("HAVE_OPENSSL", 0) :
myenv.Append(CPPDEFINES = "HAVE_OPENSSL")