]> code.ossystems Code Review - openembedded-core.git/commit
libxml2: make dependencies on python conditional
authorDmitry Rozhkov <dmitry.rozhkov@linux.intel.com>
Tue, 4 Apr 2017 06:46:46 +0000 (09:46 +0300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 5 Apr 2017 11:36:46 +0000 (12:36 +0100)
commit3f1be2c3875fc112d9c67af16759091e007e5b99
treec5280c68faf52fe3c369ab127b84de86d970a56f
parentb5f471b74b2da533abfad2601b221fa806fcf3b2
libxml2: make dependencies on python conditional

The library libxml2 can provide its own bindings for python2 in addition
to the third party python-lxml and python3-lxml packages if this
functionality is enabled in PACKAGECONFIG.

But in case the functionality is disabled there's no need to depend
on python2.

Make the dependency on python2 enabled only if the python feature
is added to PACKAGECONFIG. Also add missing run-time dependency on make
to libxml2-ptest.

Signed-off-by: Dmitry Rozhkov <dmitry.rozhkov@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-core/libxml/libxml2_2.9.4.bb