summaryrefslogtreecommitdiff
path: root/BuildFlags.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2014-03-12 12:19:48 -0400
committerGravatar Joey Hess <joey@kitenet.net>2014-03-12 12:19:48 -0400
commit672a4323b5711352c1d1f45176cf97d96df97de3 (patch)
treea4fb7ba12eb25e353add5b3b0523eda223c566cc /BuildFlags.hs
parentc5801f029458a899fb681d89628303433119c1c9 (diff)
quick fix to build with old warp-tls
Debian stable's warp-tls is too old to support the new https feature well, so only use http with that old version. Note that the webapp still depends on warp-tls, because the TLSSettings type is used.
Diffstat (limited to 'BuildFlags.hs')
-rw-r--r--BuildFlags.hs3
1 files changed, 3 insertions, 0 deletions
diff --git a/BuildFlags.hs b/BuildFlags.hs
index e5d389d28..d5c98aa4e 100644
--- a/BuildFlags.hs
+++ b/BuildFlags.hs
@@ -22,6 +22,9 @@ buildFlags = filter (not . null)
#else
#warning Building without the webapp. You probably need to install Yesod..
#endif
+#ifdef WITH_WEBAPP_HTTPS
+ , "Webapp-https"
+#endif
#ifdef WITH_PAIRING
, "Pairing"
#else