aboutsummaryrefslogtreecommitdiffstats
path: root/src/egl/drivers/xdri
diff options
context:
space:
mode:
authorDima Zavin <[email protected]>2008-08-21 10:40:55 -0700
committerBrian Paul <[email protected]>2008-09-11 11:43:56 -0600
commit912488a8d016834349273acac88be85a6afadcc0 (patch)
tree23b3c2e20d35aceaa5d309a629764719e85f2bba /src/egl/drivers/xdri
parentd50d68a1c940ed9c8d8c65e8e33667fa90d5baa1 (diff)
egl_dri/egl_xdri: Makefiles should use pkg-config to find libdrm.
Diffstat (limited to 'src/egl/drivers/xdri')
-rw-r--r--src/egl/drivers/xdri/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/egl/drivers/xdri/Makefile b/src/egl/drivers/xdri/Makefile
index 252d00b6c22..9a2b7e0a9d8 100644
--- a/src/egl/drivers/xdri/Makefile
+++ b/src/egl/drivers/xdri/Makefile
@@ -13,7 +13,7 @@ DRIVER_NAME = egl_xdri.so
INCLUDE_DIRS = \
-I. \
-I/usr/include \
- -I/usr/include/drm \
+ $(shell pkg-config --cflags-only-I libdrm) \
-I$(TOP)/include \
-I$(TOP)/include/GL/internal \
-I$(TOP)/src/mesa/glapi \