You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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).
The text was updated successfully, but these errors were encountered: