File tree 2 files changed +14
-1
lines changed
2 files changed +14
-1
lines changed Original file line number Diff line number Diff line change @@ -168,7 +168,11 @@ part of Stack's [user's guide](GUIDE.md#the-stack-build-command) for information
168
168
about how these dependencies get specified.
169
169
170
170
In addition to specifying targets, you can also control what gets built, or
171
- retained, with the following flags:
171
+ retained, with the flags and options listed below. You can also affect what gets
172
+ built by specifying Cabal (the library) options for the configure step
173
+ of the Cabal build process (for further information, see the documentation for
174
+ the [ configure-options] ( yaml_configuration.md#configure-options ) configuration
175
+ option).
172
176
173
177
### ` --bench ` flag
174
178
Original file line number Diff line number Diff line change @@ -807,10 +807,19 @@ configure-options:
807
807
- /some/path
808
808
$locals :
809
809
- --happy-option=--ghc
810
+ $targets :
811
+ # Only works on platforms where GHC supports linking against shared Haskell
812
+ # libraries:
813
+ - --enable-executable-dynamic
810
814
my-package :
811
815
- --another-flag
812
816
~~~
813
817
818
+ On platforms where GHC supports linking against shared Haskell libraries (that
819
+ currently excludes Windows), Cabal's `--enable-executable-dynamic` flag (which
820
+ implies `--enable-shared`, unless `--disable-shared` is specified) links
821
+ dependent Haskell libraries into executables dynamically.
822
+
814
823
# ## connection-count
815
824
816
825
Default : ` 8`
You can’t perform that action at this time.
0 commit comments