aboutsummaryrefslogtreecommitdiffstats
path: root/classes/utils.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'classes/utils.bbclass')
-rw-r--r--classes/utils.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/utils.bbclass b/classes/utils.bbclass
index 61f3731b15..f7d6996090 100644
--- a/classes/utils.bbclass
+++ b/classes/utils.bbclass
@@ -369,7 +369,7 @@ oe_libinstall() {
__runcmd install -m 0644 $dota $destpath/
fi
if [ -f "$dotlai" -a -n "$libtool" ]; then
- if test -n "$staging_install"
+ if [ -n "$staging_install" -a "${LIBTOOL_HAS_SYSROOT}" = "no" ]
then
# stop libtool using the final directory name for libraries
# in staging: