aboutsummaryrefslogtreecommitdiffstats
path: root/meta/classes/relocatable.bbclass
blob: 64f392eb50bbc04ad7cb057a0d863324574771d3 (plain)
1
2
3
4
5
6
7
inherit patchelf

SYSROOT_PREPROCESS_FUNCS += "relocatable_binaries_preprocess"

python relocatable_binaries_preprocess() {
    rpath_replace(d.expand('${SYSROOT_DESTDIR}'), d)
}