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> ^~~~~~~
This commit is contained in:
parent
f2cf236da8
commit
be731e0bdc
|
@ -38,6 +38,7 @@ if build_glx
|
||||||
dependencies: [
|
dependencies: [
|
||||||
common_dep,
|
common_dep,
|
||||||
dl_dep,
|
dl_dep,
|
||||||
|
dri_dep,
|
||||||
dependency('glproto', version: '>= 1.4.17'),
|
dependency('glproto', version: '>= 1.4.17'),
|
||||||
dependency('gl', version: '>= 1.2'),
|
dependency('gl', version: '>= 1.2'),
|
||||||
],
|
],
|
||||||
|
|
|
@ -33,7 +33,7 @@ if build_glx
|
||||||
|
|
||||||
include_directories: [ inc, xorg_inc, glx_inc ],
|
include_directories: [ inc, xorg_inc, glx_inc ],
|
||||||
c_args: [ xorg_c_args, glx_align64 ],
|
c_args: [ xorg_c_args, glx_align64 ],
|
||||||
dependencies: [ common_dep, dl_dep ],
|
dependencies: [ common_dep, dl_dep, dri_dep ],
|
||||||
link_whole: libxserver_glx,
|
link_whole: libxserver_glx,
|
||||||
link_with: e,
|
link_with: e,
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue