summaryrefslogtreecommitdiffstats
path: root/src/egl/drivers
diff options
context:
space:
mode:
authorKristian Høgsberg <[email protected]>2010-02-05 13:55:32 -0500
committerKristian Høgsberg <[email protected]>2010-02-05 13:55:45 -0500
commit077bc2fda2afdbe0bf12e1baeafa4ce41b711d1d (patch)
treef51160a826ffc112851718f68d0b438155b877e5 /src/egl/drivers
parente423df0f0c3e5a5d33d301b6176e9380e61b98ad (diff)
egl_dri2: Use pkg-config cflags and libs from configure output
Running pkg-config in Makefiles is bad form, since it doesn't respect the PKG_CONFIG_PATH value set at ./configure time.
Diffstat (limited to 'src/egl/drivers')
-rw-r--r--src/egl/drivers/dri2/Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/egl/drivers/dri2/Makefile b/src/egl/drivers/dri2/Makefile
index 95f95745311..129e67b8c66 100644
--- a/src/egl/drivers/dri2/Makefile
+++ b/src/egl/drivers/dri2/Makefile
@@ -11,9 +11,8 @@ EGL_INCLUDES = \
-I$(TOP)/src/egl/main \
-I$(TOP)/src/mesa \
-DDEFAULT_DRIVER_DIR=\"$(DRI_DRIVER_SEARCH_DIR)\" \
- $(shell pkg-config --cflags xcb-dri2 xcb-xfixes x11-xcb libdrm)
+ $(EGL_DRI2_CFLAGS)
-EGL_CFLAGS =
-EGL_LIBS = $(shell pkg-config --libs xcb-dri2 xcb-xfixes x11-xcb libdrm)
+EGL_LIBS = $(EGL_DRI2_LIBS)
include ../Makefile.template