mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-27 07:57:27 +00:00
opencv: checking existence of /usr/lib
Remove install errors:
mv: cannot stat '.../tmp/work/mips64-wrs-linux/opencv/3.1+gitAUTOINC
+92387b1ef8-r0/image/usr/lib/*': No such file or directory
Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
(cherry picked from commit cefba87ff0)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
This commit is contained in:
committed by
Armin Kuster
parent
cb2477355d
commit
d08864a289
@@ -138,7 +138,7 @@ do_install_append() {
|
|||||||
sed -i '/blobtrack/d' ${D}${includedir}/opencv/cvaux.h
|
sed -i '/blobtrack/d' ${D}${includedir}/opencv/cvaux.h
|
||||||
|
|
||||||
# Move Python files into correct library folder (for multilib build)
|
# Move Python files into correct library folder (for multilib build)
|
||||||
if [ "$libdir" != "/usr/lib" ]; then
|
if [ "$libdir" != "/usr/lib" -a -d ${D}/usr/lib ]; then
|
||||||
mv ${D}/usr/lib/* ${D}/${libdir}/
|
mv ${D}/usr/lib/* ${D}/${libdir}/
|
||||||
rm -rf ${D}/usr/lib
|
rm -rf ${D}/usr/lib
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user