+
Skip to content

Conversation

stanhu
Copy link
Contributor

@stanhu stanhu commented Aug 1, 2025

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.

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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载