summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDylan Baker <[email protected]>2017-10-19 10:28:37 -0700
committerDylan Baker <[email protected]>2017-10-19 15:17:34 -0700
commita447f9fe7b7902db6f91bd4b24adb4ddfad4b10b (patch)
tree41869ffd07a6287de56c2424ee987c3af6668ea4 /src
parent087e010b2b3dd83a539f97203909d6c43b5da87c (diff)
meson: don't build gallium dri target if gallium is disabled
Otherwise -Dgallium-drivers= will cause libmesa_gallium to be built and the megadriver install script to attempt to install drivers without any actual drivers being built. fixes: 66f97f6640f5316b36177fd1053f0027eb6ec6cc ("meson: build radeonsi") Reported-by: Rafael Antognolli <[email protected]> Signed-off-by: Dylan Baker <[email protected]> Tested-by: Rafael Antognolli <[email protected]> Reviewed-by: Lyude Paul <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/gallium/meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/meson.build b/src/gallium/meson.build
index a65b32c658e..97347819d60 100644
--- a/src/gallium/meson.build
+++ b/src/gallium/meson.build
@@ -67,7 +67,7 @@ subdir('state_trackers/dri')
# TODO: virgl
# TODO: winsys/sw/xlib
# TODO: clover
-if with_dri
+if with_dri and with_gallium
subdir('targets/dri')
endif
# TODO: xlib-glx