From: Emil Velikov Date: Sat, 1 Mar 2014 13:45:21 +0000 (+0000) Subject: st/dri: build the drm backend when libdrm is present X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e267e4318c0f1cc30acbd06afab44ecec9aada2e;p=mesa.git 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 --- 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