xref: /OK3568_Linux_fs/yocto/meta-browser/meta-chromium/recipes-browser/chromium/libffi_%.bbappend (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun# Also copy the PIC version of libffi.a to the sysroot, as Chromium needs it.
2*4882a593Smuzhiyun# This is the same approach that Debian takes, which Chromium uses for its
3*4882a593Smuzhiyun# sysroot: https://sources.debian.org/src/libffi/3.4.4-1/debian/rules/#L103
4*4882a593Smuzhiyundo_install:append() {
5*4882a593Smuzhiyun	install -m 0644 ${B}/.libs/libffi_convenience.a ${D}/${libdir}/libffi_pic.a
6*4882a593Smuzhiyun}
7