diff options
Diffstat (limited to 'git-annex.cabal')
-rw-r--r-- | git-annex.cabal | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/git-annex.cabal b/git-annex.cabal index cd8347161..a53eecabb 100644 --- a/git-annex.cabal +++ b/git-annex.cabal @@ -133,6 +133,11 @@ Executable git-annex -- Some things don't work with the non-threaded RTS. GHC-Options: -threaded + -- Avoid linking with unused dynamic libaries. + -- (Only tested on Linux). + if os(Linux) + GHC-Options: -optl-Wl,--as-needed + if flag(network-uri) Build-Depends: network-uri (>= 2.6), network (>= 2.6) else |