-
Notifications
You must be signed in to change notification settings - Fork 697
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update cabal-package.rst w.r.t standalone foreign libs #9320
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Still does not say why this must be used on windows. I mean sure, we do not have dynamic linking on window (for Haskell libraries) at all! So if you do not pass There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It does not say why because I did not know why. What you say sounds reasonable, perhaps we should do some tests. |
||
|
||
.. pkg-field:: mod-def-file: filename | ||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no idea how to make that a link with rST.