Version française
Home     About     Download     Resources     Contact us    
Browse thread
Ocamlbuild question
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Matthieu Dubuget <matthieu.dubuget@g...>
Subject: Re: [Caml-list] Ocamlbuild question
Matthieu Dubuget a écrit :
> Correction:
>
> Matthieu Dubuget a écrit :
>   
>> Thanks to Nicolas: the solution was:
>> - tag .oocamlfind files with "dont_link_with"
>>     
>
> In fact, tagging .oocamlfind files is not needed.
>
> The key point is to add "dont_link_with" when calling dep:
>   
>>> dep ["pkg_"^nm;"dont_link_with"][nm ^ ".oocamlfind"] 
>>>       

And I also had to add this in _tags file of the project's root directory:
<**/*.{ml,mli}>: dont_link_with

Salutations

Matt