caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Nicolas Pouillard <nicolas.pouillard@gmail.com>
To: Stéphane Glondu <steph@glondu.net>
Cc: caml-list <caml-list@inria.fr>
Subject: Re: [Caml-list] "Virtual" dependencies in ocamlbuild
Date: Sat, 24 Jan 2009 20:07:57 +0100	[thread overview]
Message-ID: <1232824013-sup-6395@ausone.local> (raw)
In-Reply-To: <497B5D7C.8050602@glondu.net>

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


      reply	other threads:[~2009-01-24 19:09 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-24 18:27 Stéphane Glondu
2009-01-24 19:07 ` Nicolas Pouillard [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1232824013-sup-6395@ausone.local \
    --to=nicolas.pouillard@gmail.com \
    --cc=caml-list@inria.fr \
    --cc=steph@glondu.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).