aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers
diff options
context:
space:
mode:
authorEmil Velikov <[email protected]>2014-03-01 13:45:21 +0000
committerEmil Velikov <[email protected]>2014-03-11 12:50:44 +0000
commite267e4318c0f1cc30acbd06afab44ecec9aada2e (patch)
tree924c35f13c7ac7b7e2aace787152ce50c87aa126 /src/gallium/state_trackers
parentf41a65397b410d3960a6ed31b05367bee5229120 (diff)
st/dri: build the drm backend when libdrm is present
Prevent build issues on systems lacking libdrm. Signed-off-by: Emil Velikov <[email protected]> Reviewed-by: Jon TURNEY <[email protected]>
Diffstat (limited to 'src/gallium/state_trackers')
-rw-r--r--src/gallium/state_trackers/dri/Makefile.am6
1 files changed, 5 insertions, 1 deletions
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