Skip to content

Commit

Permalink
Update cabal-package.rst
Browse files Browse the repository at this point in the history
  • Loading branch information
andreabedini committed Nov 21, 2023
1 parent c97092f commit 568a42b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/cabal-package-description-file.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1326,6 +1326,7 @@ A typical stanza for a foreign library looks like
lib-version-info: 6:3:2

if os(Windows)
-- standalone *must* be used on Windows.
options: standalone
mod-def-file: MyForeignLib.def

Expand Down Expand Up @@ -1356,8 +1357,7 @@ A typical stanza for a foreign library looks like
have any dependencies on other (Haskell) shared libraries; without
the ``standalone`` option the generated library would have dependencies
on the Haskell runtime library (``libHSrts``), the base library
(``libHSbase``), etc. Currently, ``standalone`` *must* be used on Windows
and *must not* be used on any other platform.
(``libHSbase``), etc. The ``standalone`` option *must* be used on Windows.

.. pkg-field:: mod-def-file: filename

Expand Down

0 comments on commit 568a42b

Please sign in to comment.