Skip to content

Conversation

@jkahrman
Copy link

ExtUtils::MakeMaker previously dropped any rpath argument that isn't an existing directory. This is too restrictive because:

  • the directory could be created after the Makefile is generated
  • rpaths can be the variables $ORIGIN on Linux or @rpath, @loader_path, or @executable_path on Mac

Also, do a Makefile escape of any single '$' in the rpath value ($ -> $$). Since the rpath value may also be consumed in a test in Makefile.PL where it doesn't need to be escaped, it's inconvenient to unescape it there.

See #439

jkahrman added 2 commits March 23, 2023 19:42
ExtUtils::MakeMaker previously dropped any rpath argument that isn't an existing directory. This is too restrictive because:
* the directory could be created after the Makefile is generated
* rpaths can be the variables $ORIGIN on Linux or @rpath, @loader_path, or @executable_path on Mac

See Perl-Toolchain-Gang#439
Since the rpath value may also be consumed in a test in Makefile.PL where
it doesn't need to be escaped, it's inconvenient to unescape it there.
@mohawk2
Copy link
Member

mohawk2 commented Mar 24, 2023

I've approved the CI to run.

@mohawk2 mohawk2 added the macos label Mar 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants