Commit 5421469
committed
Remove libffi build dir after install
Previously if you installed the gem with `--disable-system-libffi`,
the gem would leave around the compiled libraries for ffi when
it no longer needed them.
This commits hooks into the Makefile install and removes
the build directory after the gem has successfully installed.
On my system, this appears to reduce the install usage for libffi 1.17.2
from 8.5 MB to 7.3 MB.1 parent 5b44581 commit 5421469
1 file changed
+5
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
0 commit comments