Mesa (master): meson: split out idep_xmlconfig_headers from idep_xmlconfig

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Thu Oct 31 15:29:40 UTC 2019


Module: Mesa
Branch: master
Commit: 4072b3360b997afbd74e4f9e034f9b43e711b06d
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=4072b3360b997afbd74e4f9e034f9b43e711b06d

Author: Eric Engestrom <eric.engestrom at intel.com>
Date:   Sun Oct 27 00:48:36 2019 +0100

meson: split out idep_xmlconfig_headers from idep_xmlconfig

A bunch of components need the former but not the latter.

Signed-off-by: Eric Engestrom <eric.engestrom at intel.com>
Acked-by: Dylan Baker <dylan at pnwbakers.com>

---

 src/util/meson.build | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/src/util/meson.build b/src/util/meson.build
index 363447fddf4..ce50d81e688 100644
--- a/src/util/meson.build
+++ b/src/util/meson.build
@@ -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




More information about the mesa-commit mailing list