slackbuilds_ponce/haskell/haskell-test-framework/test-framework_cabal.patch
Robby Workman 6a511b1c66 haskell/*: Moved all of the Haskell stuff to here
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
2011-03-20 12:32:23 -05:00

22 lines
710 B
Diff

--- 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