]> code.ossystems Code Review - openembedded-core.git/commitdiff
chrpath: Fix case where ${B} != ${S}
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 18 Mar 2013 02:04:59 +0000 (02:04 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 18 Mar 2013 13:17:39 +0000 (13:17 +0000)
Fix out of tree builds for the native case by using the correct
path to the built object.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/chrpath/chrpath_0.14.bb

index 533e974fe9b19d3802e3cc4e791145c5436fd367..27426a7c3fac04d3689aa389f4692cc6e6df95ee 100644 (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}"