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.
This commit is contained in:
Joey Hess 2013-10-17 18:56:28 -04:00
parent ad86926f09
commit 342d508e00

View file

@ -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