Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Fix detection of system ffi We need ffi_closure_alloc() since commit cf10854 but don't use ffi_prep_closure() any longer. * Prepend include path for bundled libffi to make sure it is preferred When have_header('ffi.h') was successful the system libffi include path is added to INCFLAGS. But when have_func() fails later on the bundled libffi which should be used instead. Using the wrong ffi.h resulted in compiler warnings about undefined functions and leaded to segfaults on MacOS.
- Loading branch information
Showing
5 changed files
with
7 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
0fef6d4
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The segfault mentioned in the commit description was here: https://travis-ci.org/larskanis/ffi/jobs/344203027
0fef6d4
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Related to this issue?: #626