Commit 8172c06
authored
Have ExtUtils::MakeMaker maintain all rpath arguments
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 #4391 parent 5422e75 commit 8172c06
1 file changed
+8
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | 79 | | |
85 | 80 | | |
86 | 81 | | |
| |||
89 | 84 | | |
90 | 85 | | |
91 | 86 | | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
92 | 94 | | |
93 | | - | |
| 95 | + | |
94 | 96 | | |
95 | 97 | | |
96 | 98 | | |
| |||
0 commit comments