summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swiften/SConscript')
-rw-r--r--Swiften/SConscript8
1 files changed, 4 insertions, 4 deletions
diff --git a/Swiften/SConscript b/Swiften/SConscript
index eb60c7e..320bafa 100644
--- a/Swiften/SConscript
+++ b/Swiften/SConscript
@@ -38,8 +38,6 @@ sources = [
"EventLoop/EventOwner.cpp",
"EventLoop/MainEventLoop.cpp",
"EventLoop/SimpleEventLoop.cpp",
- "EventLoop/Cocoa/CocoaEventLoop.mm",
- "EventLoop/Cocoa/CocoaEvent.mm",
"History/HistoryManager.cpp",
"History/SQLiteHistoryManager.cpp",
"JID/JID.cpp",
@@ -155,10 +153,13 @@ sources = [
"StringCodecs/Base64.cpp",
"StringCodecs/SHA1.cpp",
]
-
# "Notifier/GrowlNotifier.cpp",
if env["PLATFORM"] == "darwin" :
+ "EventLoop/Cocoa/CocoaEventLoop.mm",
+ "EventLoop/Cocoa/CocoaEvent.mm",
+
+if env["PLATFORM"] == "darwin" :
myenv.Append(CPPDEFINES = "HAVE_BONJOUR")
sources += [
"LinkLocal/DNSSD/Bonjour/BonjourQuerier.cpp",
@@ -167,7 +168,6 @@ if env["PLATFORM"] == "darwin" :
elif myenv.get("HAVE_AVAHI", 0) :
sources += ["LinkLocal/DNSSD/Avahi/AvahiQuerier.cpp"]
-
if myenv.get("HAVE_OPENSSL", 0) :
myenv.Append(CPPDEFINES = "HAVE_OPENSSL")
sources += ["StreamStack/OpenSSLLayer.cpp"]