diff options
-rw-r--r-- | SwifTools/Notifier/SConscript | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/SwifTools/Notifier/SConscript b/SwifTools/Notifier/SConscript index e87312c..b3c8115 100644 --- a/SwifTools/Notifier/SConscript +++ b/SwifTools/Notifier/SConscript @@ -1,21 +1,21 @@ Import("swiftools_env") myenv = swiftools_env.Clone() sources = [ "Notifier.cpp", ] if swiftools_env.get("HAVE_GROWL", False) : sources += [ "GrowlNotifier.mm", "GrowlNotifierDelegate.mm", ] -elif myenv["PLATFORM"] == "darwin" : +elif myenv["PLATFORM"] == "darwin" and myenv["target"] == "native" : sources += [ "NotificationCenterNotifier.mm", "NotificationCenterNotifierDelegate.mm", ] objects = myenv.StaticObject(sources) swiftools_env.Append(SWIFTOOLS_OBJECTS = objects) |