diff options
author | Wenzong Fan <wenzong.fan@windriver.com> | 2016-11-16 02:32:01 -0500 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2016-11-23 15:24:45 +0100 |
commit | cefba87ff0a5f12cdb377038d67ab8550d500e82 (patch) | |
tree | 706c62e95afa49e91b7f1c8550d701d91ba3d40b /meta-oe/recipes-support/opencv | |
parent | aca16cee97bf870c293243ca2d21ec5efbe30623 (diff) | |
download | meta-openembedded-cefba87ff0a5f12cdb377038d67ab8550d500e82.tar.gz |
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>
Diffstat (limited to 'meta-oe/recipes-support/opencv')
-rw-r--r-- | meta-oe/recipes-support/opencv/opencv_3.1.bb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-oe/recipes-support/opencv/opencv_3.1.bb b/meta-oe/recipes-support/opencv/opencv_3.1.bb index 72bf5b4ce..1bbb965c8 100644 --- a/meta-oe/recipes-support/opencv/opencv_3.1.bb +++ b/meta-oe/recipes-support/opencv/opencv_3.1.bb | |||
@@ -138,7 +138,7 @@ do_install_append() { | |||
138 | sed -i '/blobtrack/d' ${D}${includedir}/opencv/cvaux.h | 138 | sed -i '/blobtrack/d' ${D}${includedir}/opencv/cvaux.h |
139 | 139 | ||
140 | # Move Python files into correct library folder (for multilib build) | 140 | # Move Python files into correct library folder (for multilib build) |
141 | if [ "$libdir" != "/usr/lib" ]; then | 141 | if [ "$libdir" != "/usr/lib" -a -d ${D}/usr/lib ]; then |
142 | mv ${D}/usr/lib/* ${D}/${libdir}/ | 142 | mv ${D}/usr/lib/* ${D}/${libdir}/ |
143 | rm -rf ${D}/usr/lib | 143 | rm -rf ${D}/usr/lib |
144 | fi | 144 | fi |