meson: split out idep_xmlconfig_headers from idep_xmlconfig
authorEric Engestrom <eric.engestrom@intel.com>
Sat, 26 Oct 2019 23:48:36 +0000 (00:48 +0100)
committerEric Engestrom <eric@engestrom.ch>
Thu, 31 Oct 2019 15:29:06 +0000 (15:29 +0000)
A bunch of components need the former but not the latter.

Signed-off-by: Eric Engestrom <eric.engestrom@intel.com>
Acked-by: Dylan Baker <dylan@pnwbakers.com>
src/util/meson.build

index 363447fddf40c5e1b51d72808b9bb58f07999722..ce50d81e688c1cd19949b54586d5015280abf048 100644 (file)
@@ -187,11 +187,14 @@ _libxmlconfig = static_library(
   build_by_default : false,
 )
 
-idep_xmlconfig = declare_dependency(
+idep_xmlconfig_headers = declare_dependency(
   sources : xmlpool_options_h,
   include_directories : inc_util,
+)
+
+idep_xmlconfig = declare_dependency(
+  dependencies : [idep_xmlconfig_headers, dep_expat],
   link_with : _libxmlconfig,
-  dependencies : dep_expat,
 )
 
 if with_tests