On Thu, Dec 12, 2024 at 03:01:53PM +0100, [email protected] wrote:
> Hi!
> 
> This patch ensures that any runtime-linker path is specified with the "-rpath"
> option in csc, then it is used when invoking "install_name_tool" to modify
> the runtime path in produced executables. Other platforms use "-Wl,-rpath"
> or similar, but on Mac OS this is done via said tool.
> 
> This also caused problems when running "make check" on Macs with an old
> installation still in the install-prefix: csc would invoke install_name_tool 
> with
> the default prefix and thus any installed libchicken would be picked (instead
> of the new one just built). On Linux LD_LIBRARY_PATH takes care of that
> (and rpaths are not set by default).

Thanks, pushed!

Reply via email to