diff options
Diffstat (limited to 'SwifTools/Notifier/SConscript')
-rw-r--r-- | SwifTools/Notifier/SConscript | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/SwifTools/Notifier/SConscript b/SwifTools/Notifier/SConscript index 89fc31b..9ad2fd7 100644 --- a/SwifTools/Notifier/SConscript +++ b/SwifTools/Notifier/SConscript @@ -1,5 +1,7 @@ Import("swiftools_env") +myenv = swiftools_env.Clone() + sources = [ "Notifier.cpp", ] @@ -8,6 +10,11 @@ if swiftools_env.get("HAVE_GROWL", False) : sources += [ "GrowlNotifier.cpp", ] - -objects = swiftools_env.StaticObject(sources) +if swiftools_env.get("HAVE_SNARL", False) : + myenv.MergeFlags(myenv["SNARL_FLAGS"]) + sources += [ + "SnarlNotifier.cpp", + ] + +objects = myenv.StaticObject(sources) swiftools_env.Append(SWIFTOOLS_OBJECTS = objects) |