diff options
-rw-r--r-- | meta-oe/recipes-support/opencv/opencv_3.1.bb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta-oe/recipes-support/opencv/opencv_3.1.bb b/meta-oe/recipes-support/opencv/opencv_3.1.bb index c74a44d9e9..36876da2ca 100644 --- a/meta-oe/recipes-support/opencv/opencv_3.1.bb +++ b/meta-oe/recipes-support/opencv/opencv_3.1.bb | |||
@@ -78,8 +78,8 @@ export ANT_DIR="${STAGING_DIR_NATIVE}/usr/share/ant/" | |||
78 | 78 | ||
79 | TARGET_CC_ARCH += "-I${S}/include " | 79 | TARGET_CC_ARCH += "-I${S}/include " |
80 | 80 | ||
81 | PACKAGES += "${PN}-samples-dbg ${PN}-samples ${PN}-apps python-opencv \ | 81 | PACKAGES += "${@bb.utils.contains('PACKAGECONFIG', 'oracle-java', '${PN}-java-dbg ${PN}-java', '', d)} \ |
82 | ${@bb.utils.contains('PACKAGECONFIG', 'oracle-java', '${PN}-java-dbg ${PN}-java', '', d)}" | 82 | ${PN}-samples-dbg ${PN}-samples ${PN}-apps python-opencv" |
83 | 83 | ||
84 | python populate_packages_prepend () { | 84 | python populate_packages_prepend () { |
85 | cv_libdir = d.expand('${libdir}') | 85 | cv_libdir = d.expand('${libdir}') |