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.
ExtUtils::MakeMaker previously dropped any rpath argument that isn't an existing directory. This is too restrictive because:
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