[Mesa-dev] [PATCH 18/20] st/dri: build the drm backend when libdrm is present
Emil Velikov
emil.l.velikov at gmail.com
Tue Mar 4 13:12:42 PST 2014
Prevent build issues on systems lacking libdrm.
Cc: Jon TURNEY <jon.turney at dronecode.org.uk>
Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
---
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 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
--
1.9.0
More information about the mesa-dev
mailing list