summaryrefslogtreecommitdiff
path: root/meta/classes/relocatable.bbclass
blob: 4ca9981f44de2fac747398d6a87a5486a6613d58 (plain)
1
2
3
4
5
6
7
inherit chrpath

SYSROOT_PREPROCESS_FUNCS += "relocatable_binaries_preprocess"

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