Skip to content
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

Fix to findlib support and -linkpkg #5039

Closed
vicuna opened this issue Apr 28, 2010 · 1 comment
Closed

Fix to findlib support and -linkpkg #5039

vicuna opened this issue Apr 28, 2010 · 1 comment

Comments

@vicuna
Copy link

vicuna commented Apr 28, 2010

Original bug ID: 5039
Reporter: gildor
Assigned to: @xclerc
Status: closed (set by @xavierleroy on 2012-03-24T14:01:42Z)
Resolution: fixed
Priority: normal
Severity: minor
Fixed in version: 3.12.1+dev
Category: -for ocamlbuild use https://github.com/ocaml/ocamlbuild/issues
Related to: #5217
Monitored by: yziquel mehdi @ygrek @glondu @hcarty @Chris00

Bug description

In ocamlbuild/ocaml_specific.ml l548
flag ["ocaml"; "link"] & A"-linkpkg";

should be replaced by
flag ["ocaml"; "link"; "program"] & A"-linkpkg";

-linkpkg shoudl only be applied to program, otherwise it includes libraries in libraries (i.e. Unix in yourlib.cmxa).

@vicuna
Copy link
Author

vicuna commented Nov 14, 2010

Comment author: yziquel

Is this bug so difficult to solve? It seems to me that this is a rather important bug in the sense that it does impact ocamlbuild-ocamlfind interaction, which is sort of sad since the -use-ocamlfind option makes things so easy... apart from this bug.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant