Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions doc/cabal-package-description-file.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2198,6 +2198,7 @@ A typical stanza for a foreign library looks like
lib-version-info: 6:3:2

if os(Windows)
-- Cabal currently only supports standalone foreign libraries on Windows.
options: standalone
mod-def-file: MyForeignLib.def

Expand Down Expand Up @@ -2228,8 +2229,9 @@ 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. Currently, Cabal can only build ``standalone``
foreign libraries on Windows; a non-standalone foreign library is
rejected at configure time there.

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

Expand Down
Loading