Skip to content

Commit 873a018

Browse files
authored
Merge pull request #2148 from iteratee/kb/cabal-binary-static-explicit
Make static linking of haskell_cabal_binary explicit
2 parents 4028464 + ad2cbb4 commit 873a018

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

haskell/cabal.bzl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2136,7 +2136,7 @@ haskell_cabal_binary(
21362136
setup_deps = {setup_deps},
21372137
tools = {tools},
21382138
visibility = ["@{workspace}-exe//{name}:__pkg__"],
2139-
cabalopts = ["--ghc-option=-w", "--ghc-option=-optF=-w"],
2139+
cabalopts = ["--ghc-option=-w", "--ghc-option=-optF=-w", "--ghc-option=-static"],
21402140
verbose = {verbose},
21412141
)
21422142
""".format(

0 commit comments

Comments
 (0)