Commit aec09e2
authored
Disable rpath in cross compiled C extensions
This instructs cross rubies to omit the rpath linker option to the absolute path in the build environment, which is like
```
-Wl,-rpath,/home/kanis/.rvm/rubies/ruby-3.4.5/lib
```
This path is not present on the target system and could lead to security issues.
Related to sparklemotion/nokogiri#31331 parent 1cf53d5 commit aec09e2
File tree
1 file changed
+2
-1
lines changed- build/patches/rake-compiler-1.2.9
1 file changed
+2
-1
lines changedLines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
| |||
0 commit comments