diff options
author | Remko Tronçon <git@el-tramo.be> | 2010-08-16 17:15:36 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2010-08-16 17:15:36 (GMT) |
commit | 9b594b480fea33624fcf636adfa455aba5efb97f (patch) | |
tree | d34bb0ed34d0bd19ce07b1187bfcf22fc3c0a399 /SwifTools/SConscript | |
parent | 00a26ca1c2d3f753599d5608b18726996beeb4b1 (diff) | |
download | swift-9b594b480fea33624fcf636adfa455aba5efb97f.zip swift-9b594b480fea33624fcf636adfa455aba5efb97f.tar.bz2 |
More build system tweaks.
Diffstat (limited to 'SwifTools/SConscript')
-rw-r--r-- | SwifTools/SConscript | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/SwifTools/SConscript b/SwifTools/SConscript index 18781c3..7620879 100644 --- a/SwifTools/SConscript +++ b/SwifTools/SConscript @@ -36,8 +36,9 @@ if env["SCONS_STAGE"] == "build" : if myenv["PLATFORM"] == "win32" : sources += ["Idle/WindowsIdleQuerier.cpp"] - elif myenv["PLATFORM"] == "darwin" : - sources += ["Idle/MacOSXIdleQuerier.cpp"] + elif myenv["PLATFORM"] == "darwin" and myenv.get("HAVE_IOKIT", False) : + myenv.Append(CPPDEFINES = ["HAVE_IOKIT"]) + sources += ["Idle/MacOSXIdleQuerier.cpp"] elif myenv["HAVE_XSS"] : myenv.Append(CPPDEFINES = ["HAVE_XSS"]) sources += ["Idle/XSSIdleQuerier.cpp"] |