chrpath: Fix case where ${B} != ${S}

Fix out of tree builds for the native case by using the correct
path to the built object.

(From OE-Core rev: ea39d2ba55205d47356ee53779ce991eade1fb5f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Richard Purdie 2013-03-18 02:04:59 +00:00
parent b345b7cdb3
commit 3121128461
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ inherit autotools
# We don't have a staged chrpath-native for ensuring our binary is
# relocatable, so use the one we've just built
CHRPATH_BIN_class-native = "${S}/chrpath"
CHRPATH_BIN_class-native = "${B}/chrpath"
PROVIDES_append_class-native = " chrpath-replacement-native"
NATIVE_PACKAGE_PATH_SUFFIX = "/${PN}"