Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: 1f30e27f2871696d9514536d038cbcda7cc51ac9
      
https://github.com/Perl/perl5/commit/1f30e27f2871696d9514536d038cbcda7cc51ac9
  Author: Ryan Carsten Schmidt <g...@ryandesign.com>
  Date:   2025-07-24 (Thu, 24 Jul 2025)

  Changed paths:
    M Makefile.SH

  Log Message:
  -----------
  Resolve any symlinks to cwd in dylib install name

When the perl executable is installed by the installperl script, its
function `fix_dep_names` uses the perl function `getcwd` to determine
the current directory and uses it to change the path by which
libperl.dylib is referenced from the perl executable. `getcwd` resolves
symlinks.

At build time, the install name was set using a path constructed using
the shell command `pwd` which returns the current directory without
resolving symlinks.

This mismatch causes the executable to be installed with the wrong path
reference to the library in the case where the user has created a
symlink to the source directory and `cd`'d to that symlink rather than
to the real source directory. This was discovered while building perl in
MacPorts 2.11.2 which does exactly that.

See https://trac.macports.org/ticket/72715

Fix by using `pwd -P` instead which does resolve symlinks.


  Commit: f5b140f3b87fe0905443ffe240d9204a26f9dff5
      
https://github.com/Perl/perl5/commit/f5b140f3b87fe0905443ffe240d9204a26f9dff5
  Author: Ryan Carsten Schmidt <g...@ryandesign.com>
  Date:   2025-07-24 (Thu, 24 Jul 2025)

  Changed paths:
    M AUTHORS

  Log Message:
  -----------
  Add Ryan Carsten Schmidt to AUTHORS file


Compare: https://github.com/Perl/perl5/compare/604d1d044488...f5b140f3b87f

To unsubscribe from these emails, change your notification settings at 
https://github.com/Perl/perl5/settings/notifications

Reply via email to