summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2011-04-19 09:20:46 (GMT)
committerRemko Tronçon <git@el-tramo.be>2011-04-19 12:33:41 (GMT)
commit32444b8b7cff886e79579891a82bf70aab6f207a (patch)
treef9d6f6f08ae766183ba29a06115142019d6213a0 /SwifTools/Application/SConscript
parent8ec81c322186e7ac0f053061ee61d5e371417efb (diff)
downloadswift-contrib-32444b8b7cff886e79579891a82bf70aab6f207a.zip
swift-contrib-32444b8b7cff886e79579891a82bf70aab6f207a.tar.bz2
Fixed OS X ProxyProvider compilation.
Diffstat (limited to 'SwifTools/Application/SConscript')
-rw-r--r--SwifTools/Application/SConscript7
1 files changed, 4 insertions, 3 deletions
diff --git a/SwifTools/Application/SConscript b/SwifTools/Application/SConscript
index 0097bca..32924fc 100644
--- a/SwifTools/Application/SConscript
+++ b/SwifTools/Application/SConscript
@@ -21,6 +21,7 @@ else :
objects = swiftools_env.StaticObject(sources)
swiftools_env.Append(SWIFTOOLS_OBJECTS = [objects])
-env.Append(UNITTEST_SOURCES = [
- File("UnitTest/ApplicationPathProviderTest.cpp")
- ])
+if swiftools_env["PLATFORM"] != "darwin" or swiftools_env["target"] == "native" :
+ env.Append(UNITTEST_SOURCES = [
+ File("UnitTest/ApplicationPathProviderTest.cpp")
+ ])