<div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">One Issue [which might be mac specific] with DESTDIR is: 'make<br>
install' does 'make shared' at the dest dir.<br>
<br>
I'm assuming - one of the reasons for this is: .dylib on Macs hardcode<br>
some location info. If so - DESTDIR won't work on Mac [with<br>
sharedlibs?]. If not - there is no need to do 'make shared' during<br>
'make install'? [Barry?]<br></blockquote><div><br></div><div>Yes, this is a problem with .dylibs on the mac. As far as I know [someone correct me if I'm wrong], there are two ways to 'fix' this:</div>
<div><br></div><div>1) Use the 'install_name_tool' to post-process the shared libs with the correct path</div><div><br></div><div>2) Add the environment variable DYLD_LIBRARY_PATH or the safer but hardly documented DYLD_FALLBACK_LIBRARY_PATH</div>
<div><br></div><div>Sean</div></div>