summaryrefslogtreecommitdiff
path: root/git-annex.cabal
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2016-03-08 02:45:10 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2016-03-08 02:45:10 -0400
commit2e498e292d4cbbf3ccdb31d3e5a1e9bc09a44cc2 (patch)
tree9af54bd521ec78a9ed730cec727197b437e435b2 /git-annex.cabal
parent50c190aaa5612df07c342a2baa28e718c5a46552 (diff)
build without disk-free-space on android
Diffstat (limited to 'git-annex.cabal')
-rw-r--r--git-annex.cabal6
1 files changed, 4 insertions, 2 deletions
diff --git a/git-annex.cabal b/git-annex.cabal
index dcb038d93..9630948b1 100644
--- a/git-annex.cabal
+++ b/git-annex.cabal
@@ -111,8 +111,7 @@ Executable git-annex
esqueleto, persistent-sqlite, persistent, persistent-template,
aeson,
feed,
- regex-tdfa,
- disk-free-space
+ regex-tdfa
CC-Options: -Wall
GHC-Options: -Wall -fno-warn-tabs
Extensions: PackageImports
@@ -193,6 +192,9 @@ Executable git-annex
if flag(Android)
Build-Depends: data-endian
CPP-Options: -D__ANDROID__ -DANDROID_SPLICES -D__NO_TH__
+ else
+ Build-Depends: disk-free-space
+
if flag(AndroidSplice)
CPP-Options: -DANDROID_SPLICES