summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Smith <git@kismith.co.uk>2014-11-13 22:01:11 (GMT)
committerSwift Review <review@swift.im>2014-11-17 09:41:21 (GMT)
commit8b77cb1bff261dbe7c9975918dd3915c2f32b0e0 (patch)
treebac797707f23531e435dd0de4ea6f7a1103a5dfe
parentebcbd5645c10e914a644b747a2962a5d414e15f2 (diff)
downloadswift-8b77cb1bff261dbe7c9975918dd3915c2f32b0e0.zip
swift-8b77cb1bff261dbe7c9975918dd3915c2f32b0e0.tar.bz2
Compile Cocoa event loop in xcode too
Change-Id: I2494ca43f30c3a7e90fe38f20df421e53972974c
-rw-r--r--Swiften/EventLoop/SConscript2
1 files changed, 1 insertions, 1 deletions
diff --git a/Swiften/EventLoop/SConscript b/Swiften/EventLoop/SConscript
index 8bef8fb..d26661c 100644
--- a/Swiften/EventLoop/SConscript
+++ b/Swiften/EventLoop/SConscript
@@ -12,7 +12,7 @@ sources = [
objects = swiften_env.SwiftenObject(sources)
swiften_env.Append(SWIFTEN_OBJECTS = [objects])
-if swiften_env["PLATFORM"] == "darwin" and swiften_env["target"] == "native":
+if swiften_env["PLATFORM"] == "darwin" and swiften_env["target"] == "native" or swiften_env["target"] == 'xcode':
myenv = swiften_env.Clone()
myenv.Append(CXXFLAGS = myenv["OBJCCFLAGS"])
objects = myenv.SwiftenObject([