<div dir="ltr">Hi Louis,<div><br></div><div>What are the issues to using a symlink?  Couldn't opam switch just move it around?</div><div><br></div><div>Best,</div><div><br></div><div>Sean</div></div><div class="gmail_extra">

<br><br><div class="gmail_quote">On Mon, Nov 18, 2013 at 3:30 AM, Louis Gesbert <span dir="ltr"><<a href="mailto:louis.gesbert@ocamlpro.com" target="_blank">louis.gesbert@ocamlpro.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<u></u>
<div style="font-family:'Monospace';font-size:8pt;font-weight:400;font-style:normal">
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">Le dimanche 17 novembre 2013 16:54:15 Sean McLaughlin a écrit :</p><div><div class="h5">
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">> I'm trying to package a library that installs files in share.  When I had</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">> only one compiler installed, the %{prefix}% argument sent them to</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">> .opam/system/share.  However, when I installed another compiler and made it</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">> current, the files went into .opam/4.00.1/share.  I am trying to tell the</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">> user where to find the files.  Is there a generic directory where I could</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">> point the user?   Perhaps you could make a symlink 'current' for the</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">> current compiler?</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"> </p>
</div></div><p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">You should use $(opam config var prefix)/share, or even $(opam config var share). A symlink could be an option worth considering, but it has its own issues.</p>


<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"> </p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">Best,</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">Louis</p></div></blockquote></div><br></div>