Add configuration option to use system libffi
| Project: | GNU Smalltalk |
| Component: | Build |
| Category: | feature |
| Priority: | normal |
| Assigned: | bonzinip |
| Status: | fixed |
Hello. I recently resumed making libffi releases. In Fedora, somebody recently patched GNU Smalltalk to use the system's libffi package. I think, however, that it was probably a hack. It would be nice if the upstream project provided a configuration option to use the system's pre-installed libffi. Thanks!
Updates
| Assigned to: | Unassigned | » bonzinip |
Great. Thomas, can you send me the patch you use to select the system libsigsegv and (IIRC) libffi?
Thanks!
| Attachment: | 06_use_system_libs.patch (2.95 KB) |
Hello, please find attached the patch we use for Debian.
That's also a quick hack. I will try to provide a better patch later.
| Attachment: | gst-system-libs.patch (198 bytes) |
I used Thomas' patch to avoid forgetting any place and produced the thing I attach. Can you test it with configure flags --with-system-libffi --with-system-libsigsegv?
(regenerated files are not included in the patch)
| Status: | active | » fixed |
nothing heard, should be fixed. :-)
| Status: | fixed | » patch |
| Attachment: | system_libs.patch (531 bytes) |
Hello,
I had no time to try this patch before today.
It had a small typo, see the attached patch (against the previous patch attached to this issue).
| Status: | patch | » fixed |
patch applied (and btw in the meanwhile I upgraded the included libffi to 3.0.4)
