summaryrefslogtreecommitdiffstats
path: root/meta-rcar-gen3/recipes-forward-port/wayland/wayland-protocols_1.7.bbappend
blob: 561dfd98c43789bd98b8a78934bb2f090f9385f6 (plain)
1
2
3
4
5
6
7
8
9
10
# In YP2.1.2, /sysroot/usr/share/pkgconfig is not included in PKG_CONFIG_PATH.
# An Installation directory is moved to /usr/lib from /usr/share
# In latest master branch, this problem was fixed by e0bcf333.
do_install_append () {
    install -d ${D}/${libdir}/pkgconfig
    install -m 0644 ${D}/${datadir}/pkgconfig/wayland-protocols.pc ${D}/${libdir}/pkgconfig/
    rm -rf ${D}/${datadir}/pkgconfig
}

FILES_${PN} += "${libdir}/pkgconfig/wayland-protocols.pc"