From e267e4318c0f1cc30acbd06afab44ecec9aada2e Mon Sep 17 00:00:00 2001 From: Emil Velikov Date: Sat, 1 Mar 2014 13:45:21 +0000 Subject: [PATCH] st/dri: build the drm backend when libdrm is present Prevent build issues on systems lacking libdrm. Signed-off-by: Emil Velikov Reviewed-by: Jon TURNEY --- src/gallium/state_trackers/dri/Makefile.am | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/gallium/state_trackers/dri/Makefile.am b/src/gallium/state_trackers/dri/Makefile.am index 485627cc5ea..9428b555512 100644 --- a/src/gallium/state_trackers/dri/Makefile.am +++ b/src/gallium/state_trackers/dri/Makefile.am @@ -20,4 +20,8 @@ # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER # DEALINGS IN THE SOFTWARE. -SUBDIRS = drm sw +SUBDIRS = sw + +if HAVE_LIBDRM +SUBDIRS += drm +endif -- 2.30.2