summaryrefslogtreecommitdiff
path: root/glx
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2020-02-09 15:12:39 +0000
committerJan Beich <jbeich@FreeBSD.org>2020-05-27 07:15:07 +0000
commitbe731e0bdc7d76ad3782d5b533b6bcc8378f41ad (patch)
treeef693c1ca1eaa3aea5be6a6e401b1d1f8b13785f /glx
parentf2cf236da8e8fefd6f503ceb0a448c5ad9651024 (diff)
glx: unbreak on Unix without /usr/include/drm
In file included from ../glx/glxdri2.c:35: /usr/local/include/GL/internal/dri_interface.h:43:10: fatal error: 'drm.h' file not found #include <drm.h> ^~~~~~~ In file included from ../glx/glxdriswrast.c:39: /usr/local/include/GL/internal/dri_interface.h:43:10: fatal error: 'drm.h' file not found #include <drm.h> ^~~~~~~
Diffstat (limited to 'glx')
-rw-r--r--glx/meson.build1
1 files changed, 1 insertions, 0 deletions
diff --git a/glx/meson.build b/glx/meson.build
index 1140522f6..292e7a59d 100644
--- a/glx/meson.build
+++ b/glx/meson.build
@@ -38,6 +38,7 @@ if build_glx
dependencies: [
common_dep,
dl_dep,
+ dri_dep,
dependency('glproto', version: '>= 1.4.17'),
dependency('gl', version: '>= 1.2'),
],