<?xml version="1.0" encoding="ISO-8859-1"?>

<!DOCTYPE message PUBLIC
  "-//MLarc//DTD MLarc output files//EN"
  "../../mlarc.dtd"[
  <!ATTLIST message
    listname CDATA #REQUIRED
    title CDATA #REQUIRED
  >
]>

  <?xml-stylesheet href="../../mlarc.xsl" type="text/xsl"?>


<message 
  url="2009/01/42358c7ead68a730b059b075f88153fa"
  from="Nicolas Pouillard &lt;nicolas.pouillard@g...&gt;"
  author="Nicolas Pouillard"
  date="2009-01-24T19:09:05"
  subject="Re: [Caml-list] &quot;Virtual&quot; dependencies in ocamlbuild"
  prev="2009/01/e4ce08ecd81ae9691e93546fd3ba0ea4"
  next="2009/01/b8fcc35a4846db219ef26e2404e8ef40"
  prev-in-thread="2009/01/e4ce08ecd81ae9691e93546fd3ba0ea4"
  prev-thread="2009/01/1974c79b3676671235603bec2b9622c6"
  next-thread="2009/01/b8fcc35a4846db219ef26e2404e8ef40"
  root="../../"
  period="month"
  listname="caml-list"
  title="Archives of the Caml mailing list">

<thread subject="&quot;Virtual&quot; dependencies in ocamlbuild">
<msg 
  url="2009/01/e4ce08ecd81ae9691e93546fd3ba0ea4"
  from="Stéphane Glondu &lt;steph@g...&gt;"
  author="Stéphane Glondu"
  date="2009-01-24T18:27:11"
  subject="&quot;Virtual&quot; dependencies in ocamlbuild">
<msg 
  url="2009/01/42358c7ead68a730b059b075f88153fa"
  from="Nicolas Pouillard &lt;nicolas.pouillard@g...&gt;"
  author="Nicolas Pouillard"
  date="2009-01-24T19:09:05"
  subject="Re: [Caml-list] &quot;Virtual&quot; dependencies in ocamlbuild">
</msg>
</msg>
</thread>

<contents>
Excerpts from Stéphane Glondu's message of Sat Jan 24 19:27:08 +0100 2009:
&gt; Hi all,
&gt; 
&gt; Is there any way to add a dependency to a .cma file without adding it to
&gt; the linking command?
&gt; 
&gt; It seems that "dep" from the API also adds the dependency for linking:
&gt; for example, if that dependency is a stamp file, that stamp file is
&gt; stupidly added to "ocamlc -a" command, making it fail.

You can avoid linking by adding the "dont_link_with" tag, to your dep
declaration.

Best regards,

-- 
Nicolas Pouillard

</contents>

</message>

