diff options
author | Joey Hess <joey@kitenet.net> | 2014-04-02 17:50:47 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2014-04-02 17:50:47 -0400 |
commit | 065be817516e8940975cda00ef668d7453ee07f7 (patch) | |
tree | 930568ca460e93f0d6f24491e6b3988b3199ecc5 | |
parent | 5e3c575356ba4c72e52b1f3dadcc901ff9c33416 (diff) |
try to avoid windows wanting to build dbus
-rw-r--r-- | git-annex.cabal | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/git-annex.cabal b/git-annex.cabal index d4d65528e..9a46077b1 100644 --- a/git-annex.cabal +++ b/git-annex.cabal @@ -170,14 +170,15 @@ Executable git-annex CPP-Options: -DWITH_KQUEUE C-Sources: Utility/libkqueue.c - if flag(Dbus) - Build-Depends: dbus (>= 0.10.3) - CPP-Options: -DWITH_DBUS - - if flag(DesktopNotify) + if (os(linux)) if flag(Dbus) - Build-Depends: dbus (>= 0.10.3), fdo-notify (>= 0.3) - CPP-Options: -DWITH_DESKTOP_NOTIFY -DWITH_DBUS_NOTIFICATIONS + Build-Depends: dbus (>= 0.10.3) + CPP-Options: -DWITH_DBUS + + if flag(DesktopNotify) + if flag(Dbus) + Build-Depends: dbus (>= 0.10.3), fdo-notify (>= 0.3) + CPP-Options: -DWITH_DESKTOP_NOTIFY -DWITH_DBUS_NOTIFICATIONS if flag(Android) Build-Depends: data-endian |