PerlFFI / FFI-Platypus

Write Perl bindings to non-Perl libraries with FFI. No XS required.
89 stars 23 forks source link

Unable to detect ffi_abis on macos arm64 #370

Closed plicease closed 1 year ago

plicease commented 1 year ago
*** Unable to detect ffi_abis     ***
[[[ C pre-processor failed...     ]]]
[[[ will try all known ABIs       ]]]
PR abi.default_abi=1
PR abi.sysv=1
PR abi.win64=2
shawnlaffan commented 1 year ago

I just successfully installed FFI::Platypus on a Mac M1 machine using libffi 3.4.4 from homebrew.

Possibly it is the same underlying issue as for #374

Perhaps https://github.com/PerlFFI/Alien-FFI/pull/29 should be applied to M1 macs as well?

plicease commented 1 year ago

It does seem to work now with 3.4.4

PR abi.sysv=1
PR abi.win64=2
PR abi.default_abi=1