summaryrefslogtreecommitdiffstats
path: root/meta/classes/xmlcatalog.bbclass
diff options
context:
space:
mode:
authorChen Qi <Qi.Chen@windriver.com>2019-07-10 11:07:57 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-07-11 09:32:44 +0100
commit5a72c6d5cc1c9896c7425ac20eaf82d3d489e5c7 (patch)
tree56d66f07f709e1a5abe2cee98ec67c4a6185fdad /meta/classes/xmlcatalog.bbclass
parent7dc3048fec88dd62ef49ef16517b7382ab7cf2a5 (diff)
downloadopenembedded-core-5a72c6d5cc1c9896c7425ac20eaf82d3d489e5c7.tar.gz
xmlcatalog: hold libxml2-native dependency
Put libxml2-native dependency in this class and remove it from recipes inheriting this class. In fact, if a recipe inherits this class and does not have libxml2-native, the xmlcatalog_sstate_postinst would fail. Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/xmlcatalog.bbclass')
-rw-r--r--meta/classes/xmlcatalog.bbclass2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/classes/xmlcatalog.bbclass b/meta/classes/xmlcatalog.bbclass
index 075aef8c0c..ae4811fdeb 100644
--- a/meta/classes/xmlcatalog.bbclass
+++ b/meta/classes/xmlcatalog.bbclass
@@ -1,3 +1,5 @@
+DEPENDS = "libxml2-native"
+
# A whitespace-separated list of XML catalogs to be registered, for example
# "${sysconfdir}/xml/docbook-xml.xml".
XMLCATALOGS ?= ""