summaryrefslogtreecommitdiff
path: root/development/darcs/darcs_cabal_dynamic.patch
diff options
context:
space:
mode:
Diffstat (limited to 'development/darcs/darcs_cabal_dynamic.patch')
-rw-r--r--development/darcs/darcs_cabal_dynamic.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/development/darcs/darcs_cabal_dynamic.patch b/development/darcs/darcs_cabal_dynamic.patch
new file mode 100644
index 0000000000..e87b2f4b42
--- /dev/null
+++ b/development/darcs/darcs_cabal_dynamic.patch
@@ -0,0 +1,22 @@
+--- 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