summaryrefslogtreecommitdiff
path: root/haskell/haskell-test-framework/test-framework_cabal.patch
diff options
context:
space:
mode:
Diffstat (limited to 'haskell/haskell-test-framework/test-framework_cabal.patch')
-rw-r--r--haskell/haskell-test-framework/test-framework_cabal.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/haskell/haskell-test-framework/test-framework_cabal.patch b/haskell/haskell-test-framework/test-framework_cabal.patch
new file mode 100644
index 0000000000..2bc5bb37ac
--- /dev/null
+++ b/haskell/haskell-test-framework/test-framework_cabal.patch
@@ -0,0 +1,22 @@
+--- test-framework.cabal.orig 2011-02-04 03:59:59.000000000 +0200
++++ test-framework.cabal 2011-02-04 04:01:17.000000000 +0200
+@@ -21,6 +21,10 @@
+ Description: Build the tests
+ Default: False
+
++Flag Dynamic
++ Description: Link executable dynamically
++ Default: False
++
+
+ Library
+ Exposed-Modules: Test.Framework
+@@ -102,6 +106,8 @@
+ Cpp-Options: -DTEST
+
+ Ghc-Options: -Wall -threaded
++ if flag(Dynamic)
++ Ghc-Options: -dynamic
+
+ if impl(ghc)
+ Cpp-Options: -DCOMPILER_GHC