diff options
author | Bin Jin <bjin@ctrl-d.org> | 2017-03-17 00:25:17 +0800 |
---|---|---|
committer | Bin Jin <bjin@ctrl-d.org> | 2017-03-17 00:25:17 +0800 |
commit | 3053bfd431b69280c27f819c5c30f3d223f1258d (patch) | |
tree | a6bd5f22334ff125b2947d9e64e83af3185e9c60 /nara.cabal | |
parent | remove STM packet queue (diff) | |
download | wireguard-hs-3053bfd431b69280c27f819c5c30f3d223f1258d.tar.xz wireguard-hs-3053bfd431b69280c27f819c5c30f3d223f1258d.zip |
add flag for static build
Diffstat (limited to 'nara.cabal')
-rw-r--r-- | nara.cabal | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -13,6 +13,12 @@ description: nara is a userspace implementation of <https://www.wireguard.io WireGuard> , a fast, modern and secure VPN based on <https://noiseprotocol.org/ Noise> protocol. +flag static + description: + enable static build + default: + False + executable nara main-is: Main.hs @@ -70,6 +76,10 @@ executable nara ghc-options: -Wall -O2 -threaded + if flag(static) + ghc-options: + -optl-static + hs-source-dirs: src include-dirs: |