From 5375e3139c826341dc5890e81c001981d61b5017 Mon Sep 17 00:00:00 2001 From: Andrea Bedini <andrea.bedini@tweag.io> Date: Mon, 9 Oct 2023 11:42:09 +0800 Subject: [PATCH] Update cabal-package.rst --- doc/cabal-package.rst | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/doc/cabal-package.rst b/doc/cabal-package.rst index 9b0e970dbd..3dd8f63153 100644 --- a/doc/cabal-package.rst +++ b/doc/cabal-package.rst @@ -1324,6 +1324,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 @@ -1354,8 +1355,8 @@ 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 (FIXME: why? is so why is this not automatic?). .. pkg-field:: mod-def-file: filename -- GitLab