diff options
author | Emil Velikov <emil.l.velikov@gmail.com> | 2014-03-01 13:45:21 +0000 |
---|---|---|
committer | Emil Velikov <emil.l.velikov@gmail.com> | 2014-03-11 12:50:44 +0000 |
commit | e267e4318c0f1cc30acbd06afab44ecec9aada2e (patch) | |
tree | 924c35f13c7ac7b7e2aace787152ce50c87aa126 | |
parent | f41a65397b410d3960a6ed31b05367bee5229120 (diff) | |
download | external_mesa3d-e267e4318c0f1cc30acbd06afab44ecec9aada2e.zip external_mesa3d-e267e4318c0f1cc30acbd06afab44ecec9aada2e.tar.gz external_mesa3d-e267e4318c0f1cc30acbd06afab44ecec9aada2e.tar.bz2 |
st/dri: build the drm backend when libdrm is present
Prevent build issues on systems lacking libdrm.
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Reviewed-by: Jon TURNEY <jon.turney@dronecode.org.uk>
-rw-r--r-- | src/gallium/state_trackers/dri/Makefile.am | 6 |
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 485627c..9428b55 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 |