From e4659ffbf5ee32cb55a045bf63ae1e81c0c2938c Mon Sep 17 00:00:00 2001 From: Michael Weiss Date: Fri, 2 Apr 2021 19:26:57 +0200 Subject: meson: Only require expat when building wayland-scanner This code is only required for building wayland-scanner so it should be scoped accordingly. libxml-2.0 will only be required if both "scanner" and "dtd_validation" are set to true. Signed-off-by: Michael Weiss --- meson.build | 7 ------- 1 file changed, 7 deletions(-) (limited to 'meson.build') diff --git a/meson.build b/meson.build index dd5774a..12b4641 100644 --- a/meson.build +++ b/meson.build @@ -66,13 +66,6 @@ if get_option('libraries') endif endif -scanner_deps = [ dependency('expat') ] - -if get_option('dtd_validation') - scanner_deps += dependency('libxml-2.0') - config_h.set('HAVE_LIBXML', 1) -endif - configure_file( output: 'config.h', configuration: config_h, -- cgit v1.2.3-70-g09d2