ruby / fiddle

A libffi wrapper for Ruby.
BSD 2-Clause "Simplified" License
158 stars 36 forks source link

Add CI steps for `--enable-bundled-libffi` #94

Closed tenderlove closed 2 years ago

tenderlove commented 3 years ago

@hsbt reported an issue with --enable-bundled-libffi here.

I added a build that uses this flag, and that build is failing. I was able to reproduce @hsbt's issue. I think it's caused by libffi installed with homebrew and using the --enable-bundled-libffi flag. My guess is that building the bundled libffi is failing, but the gem still compiles with the bundled ffi headers but links against the homebrew libffi.

I'm not sure how to fix yet, but I wanted to send this PR to show the issue.

hsbt commented 2 years ago

I removed --enabled-bundled-libffi feature at https://github.com/ruby/fiddle/pull/113