slackbuilds_ponce/development/darcs/darcs_cabal_dynamic.patch
Mikko Värri 9e77fcce5d development/darcs: Added (revision control system in Haskell)
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
2011-03-05 17:11:25 -03:00

22 lines
552 B
Diff

--- darcs.cabal.orig 2011-02-11 23:36:22.000000000 +0200
+++ darcs.cabal 2011-02-11 23:50:05.000000000 +0200
@@ -84,6 +84,10 @@
description: Build static binary
default: False
+flag dynamic
+ description: Link darcs executable dynamically
+ default: False
+
flag terminfo
description: Use the terminfo package for enhanced console support.
@@ -499,6 +503,8 @@
if flag(static)
ghc-options: -static -optl-static -optl-pthread
+ if flag(dynamic)
+ ghc-options: -dynamic
if flag(hpc)
ghc-prof-options: -fhpc