This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
|
source "$pkg_common"
|
|
|
|
configure()
|
|
{
|
|
"../libffi-$version/configure" \
|
|
"--prefix=$cfg_dir_toolchain"
|
|
}
|
|
|
|
build()
|
|
{
|
|
$cmd_make
|
|
}
|
|
|
|
host_install()
|
|
{
|
|
$cmd_make install &&
|
|
sed 's/Libs: /Libs: -L${libdir} /g' "$cfg_dir_toolchain/lib/pkgconfig/libffi.pc" -i
|
|
}
|