On 2015-6-3 03:42 , Sterling Smith wrote:
> I am trying to create a port for the MDSplus library.  I have beat the 
> library’s make process into submission to make use of DESTDIR and other 
> standard directories.  So now it creates several dylibs and executables in 
> the proper directories, but for which otool -L yields the build directory for 
> library dependencies instead of the installation directory.  Poking around 
> online, it seems that  install_name_tool can rectify this situation.  Is that 
> not something that macports does automatically?  Is there a good macports 
> produced dylib (and associated portfile or install script) that shows a 
> standard way of making macports compliant dylibs?

The right way to set this is by passing -install_name at link time.

- Josh
_______________________________________________
macports-dev mailing list
[email protected]
https://lists.macosforge.org/mailman/listinfo/macports-dev

Reply via email to