From 568a42b6b3aa350969f44b9f46c9381b9ab1c8e3 Mon Sep 17 00:00:00 2001 From: Andrea Bedini Date: Tue, 21 Nov 2023 10:53:54 +0800 Subject: [PATCH] Update cabal-package.rst --- doc/cabal-package-description-file.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/cabal-package-description-file.rst b/doc/cabal-package-description-file.rst index ae07f3ff3bc..35330fc4a40 100644 --- a/doc/cabal-package-description-file.rst +++ b/doc/cabal-package-description-file.rst @@ -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 @@ -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