libffi
build libffi for Android

step1、install ndk-pkg

step2、update ndk-pkg-formula-repository

ndk-pkg update

step3、build and install libffi

ndk-pkg install libffi
view the formula of libffi
ndk-pkg formula view libffi

{{ formula }}
edit the formula of libffi

if the formula of libffi dosn't meet your needs, you can edit it ⤵︎

ndk-pkg formula edit libffi

after editing, you may want to rebuild this package ⤵︎

ndk-pkg install libffi