From 071974c26d34bdf92c1162eed0f4ee17651c5bea Mon Sep 17 00:00:00 2001
From: Tobias Markmann <tm@ayena.de>
Date: Wed, 14 Aug 2013 15:24:08 +0200
Subject: Build OSX spell checker only with native target.

Change-Id: Ibe2cbb2e9b0f87e073cc821a47135731a4cf7e76
License: This patch is BSD-licensed, see Documentation/Licenses/BSD-simplified.txt for details.

diff --git a/SwifTools/SConscript b/SwifTools/SConscript
index 9aa3bed..b9822e0 100644
--- a/SwifTools/SConscript
+++ b/SwifTools/SConscript
@@ -39,7 +39,7 @@ if env["SCONS_STAGE"] == "build" :
 			"HunspellChecker.cpp",
 			"SpellParser.cpp",
 		]
-	elif swiftools_env["PLATFORM"] == "darwin" :
+	elif swiftools_env["PLATFORM"] == "darwin" and env["target"] == "native" :
 		sources += [
 			"SpellCheckerFactory.cpp",
 			"MacOSXChecker.mm",
-- 
cgit v0.10.2-6-g49f6