summaryrefslogtreecommitdiff
path: root/classes/autotools.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'classes/autotools.bbclass')
-rw-r--r--classes/autotools.bbclass3
1 files changed, 1 insertions, 2 deletions
diff --git a/classes/autotools.bbclass b/classes/autotools.bbclass
index 53480e5a15..9d741408f4 100644
--- a/classes/autotools.bbclass
+++ b/classes/autotools.bbclass
@@ -211,8 +211,7 @@ autotools_stage_all() {
else
# Otherwise libtool wasn't used, and lib/ can be copied
# directly.
- echo "cp -fpPR ${STAGE_TEMP}/${libdir}/* ${STAGING_LIBDIR}"
- cp -fpPR ${STAGE_TEMP}/${libdir}/* ${STAGING_LIBDIR}
+ autotools_stage_dir ${STAGE_TEMP}/${libdir} ${STAGING_LIBDIR}
fi
fi