diff options
author | Gabriel Scherer <gabriel.scherer@gmail.com> | 2013-07-26 19:40:12 +0000 |
---|---|---|
committer | Gabriel Scherer <gabriel.scherer@gmail.com> | 2013-07-26 19:40:12 +0000 |
commit | 848eb19f505ef6ec638dddf9b73bd99aeee8c933 (patch) | |
tree | d596672b83a02944805fafe088651fde0f10a8e4 /otherlibs/win32unix/unixsupport.c | |
parent | 10a88a4c01dcc229bb179a2907367d52dee45545 (diff) |
PR#6058: have ocamlbuild add -thread for all "link" tags
The -thread option is only needed when creating a compilation unit
("compile" tag handled separated), or linking libraries into a final
program ("link";"program"). However, ocamlfind will fail with an error
if neither of -thread or -vmthread is passed into the command-line of
any linking step, such as when creating a cm(x)a archive. The present
fix enables the -thread option for all linking steps, which should fix
any -use-ocamlfind issue and be harmless in other cases.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13934 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'otherlibs/win32unix/unixsupport.c')
0 files changed, 0 insertions, 0 deletions