diff options
author | Remko Tronçon <git@el-tramo.be> | 2009-08-13 11:50:44 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2009-08-13 12:24:29 (GMT) |
commit | 1f6119ec3e29e27442eaf623f3b1d091cf6ef5ec (patch) | |
tree | b3ac9189d0b7cfe0efa0bcaa4b4100feaa05edb9 /Swiften/SConscript | |
parent | b6374b7ae064e689924a88b398ca3eb9ed0a379e (diff) | |
download | swift-contrib-1f6119ec3e29e27442eaf623f3b1d091cf6ef5ec.zip swift-contrib-1f6119ec3e29e27442eaf623f3b1d091cf6ef5ec.tar.bz2 |
Add Mac App bundle creation tool.
Diffstat (limited to 'Swiften/SConscript')
-rw-r--r-- | Swiften/SConscript | 8 |
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") |