From 342d508e00a83399d40156ae790366636fb5bbef Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Thu, 17 Oct 2013 18:56:28 -0400 Subject: [PATCH] avoid trying to link with XMPP on Windows It doesn't work, in a most puzzling way, which just wasted me hours, even if XMPP libs are installed. Webapp too. --- git-annex.cabal | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/git-annex.cabal b/git-annex.cabal index 20ac485115..45e27b970b 100644 --- a/git-annex.cabal +++ b/git-annex.cabal @@ -149,7 +149,7 @@ Executable git-annex Build-Depends: dbus (>= 0.10.3) CPP-Options: -DWITH_DBUS - if flag(Webapp) + if flag(Webapp) && (! os(windows)) Build-Depends: yesod, yesod-default, yesod-static, yesod-form, yesod-core, case-insensitive, http-types, transformers, wai, wai-logger, warp, @@ -161,7 +161,7 @@ Executable git-annex Build-Depends: network-multicast, network-info CPP-Options: -DWITH_PAIRING - if flag(XMPP) + if flag(XMPP) && (! os(windows)) Build-Depends: network-protocol-xmpp, gnutls (>= 0.1.4), xml-types CPP-Options: -DWITH_XMPP