mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-18 22:06:04 +01:00
8c9a45759a
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
22 lines
694 B
Diff
22 lines
694 B
Diff
--- test-framework.cabal.orig 2012-05-17 17:38:22.833999961 +0300
|
|
+++ test-framework.cabal 2012-05-17 17:41:57.088000279 +0300
|
|
@@ -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
|