meson: ensure xmlpool/options.h is generated for libgallium
authorJon Turney <jon.turney@dronecode.org.uk>
Mon, 5 Feb 2018 21:11:12 +0000 (21:11 +0000)
committerJon Turney <jon.turney@dronecode.org.uk>
Tue, 6 Feb 2018 15:56:12 +0000 (15:56 +0000)
In file included from ../src/gallium/targets/dri/target.c:1:
In file included from ../src/gallium/auxiliary/target-helpers/drm_helper.h:8:
../src/util/xmlpool.h:103:10: fatal error: 'xmlpool/options.h' file not found

See also 26bde1e3.

Signed-off-by: Jon Turney <jon.turney@dronecode.org.uk>
Reviewed-by: Eric Engestrom <eric.engestrom@imgtec.com>
src/gallium/targets/dri/meson.build

index 30368c2152abd0a9bda5e5f1038164901973b266..75ce94ab2ccbb59f0f22b5a7569004070c83729c 100644 (file)
@@ -51,7 +51,7 @@ endif
 
 libgallium_dri = shared_library(
   'gallium_dri',
-  files('target.c'),
+  [files('target.c'), xmlpool_options_h],
   include_directories : [
     inc_common, inc_util, inc_dri_common, inc_gallium_drivers,
     inc_gallium_winsys, include_directories('../../state_trackers/dri'),