Skip to content

Commit

Permalink
opencv: only move libdir bits if needed
Browse files Browse the repository at this point in the history
This fixes a failure I was hitting with libdir=/usr/lib64.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
  • Loading branch information
kergoth committed Jun 17, 2016
1 parent a496265 commit dae3092
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
python () {
inst = d.getVar('do_install', False)
inst = inst.replace('if [ "$libdir" != "/usr/lib" ]; then',
'if [ "$libdir" != "/usr/lib" ] && [ -e "${D}/usr/lib" ]; then')
d.setVar('do_install', inst)
}

0 comments on commit dae3092

Please sign in to comment.