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:
parent
ad86926f09
commit
342d508e00
1 changed files with 2 additions and 2 deletions
|
@ -149,7 +149,7 @@ Executable git-annex
|
||||||
Build-Depends: dbus (>= 0.10.3)
|
Build-Depends: dbus (>= 0.10.3)
|
||||||
CPP-Options: -DWITH_DBUS
|
CPP-Options: -DWITH_DBUS
|
||||||
|
|
||||||
if flag(Webapp)
|
if flag(Webapp) && (! os(windows))
|
||||||
Build-Depends:
|
Build-Depends:
|
||||||
yesod, yesod-default, yesod-static, yesod-form, yesod-core,
|
yesod, yesod-default, yesod-static, yesod-form, yesod-core,
|
||||||
case-insensitive, http-types, transformers, wai, wai-logger, warp,
|
case-insensitive, http-types, transformers, wai, wai-logger, warp,
|
||||||
|
@ -161,7 +161,7 @@ Executable git-annex
|
||||||
Build-Depends: network-multicast, network-info
|
Build-Depends: network-multicast, network-info
|
||||||
CPP-Options: -DWITH_PAIRING
|
CPP-Options: -DWITH_PAIRING
|
||||||
|
|
||||||
if flag(XMPP)
|
if flag(XMPP) && (! os(windows))
|
||||||
Build-Depends: network-protocol-xmpp, gnutls (>= 0.1.4), xml-types
|
Build-Depends: network-protocol-xmpp, gnutls (>= 0.1.4), xml-types
|
||||||
CPP-Options: -DWITH_XMPP
|
CPP-Options: -DWITH_XMPP
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue