mirror of
https://git.yoctoproject.org/poky
synced 2026-05-04 22:39:49 +02:00
The relocatable path will pre-process built binaries in SYSROOT_DESTDIR and replace any harcoded dynamic link rpaths with relative paths. Add an inherit of class in native.bbclass to make our native packages relocatable and tweak the chrpath recipe so that the native package can make itself relocatable with the just built chrpath binary. Signed-off-by: Joshua Lock <josh@linux.intel.com>
18 lines
516 B
BlitzBasic
18 lines
516 B
BlitzBasic
DESCRIPTION = "chrpath allows you to change the rpath (where the application \
|
|
looks for libraries) in an application. It does not (yet) allow you to add an \
|
|
rpath if there isn't one already."
|
|
LICENSE = "GPL"
|
|
PR = "r1"
|
|
|
|
SRC_URI = "${DEBIAN_MIRROR}/main/c/chrpath/chrpath_${PV}.orig.tar.gz"
|
|
|
|
inherit autotools
|
|
|
|
S = "${WORKDIR}/chrpath-${PV}"
|
|
|
|
# We don't have a staged chrpath-native for ensuring our binary is relocatable
|
|
# so must use the one we've just built
|
|
CHRPATH_BIN = "${S}/chrpath"
|
|
|
|
BBCLASSEXTEND = "native"
|