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.
lsts_glued/rules/libffi/host.bash

19 lines
273 B
Bash

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
}