summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers
diff options
context:
space:
mode:
authorStéphane Marchesin <[email protected]>2011-09-30 17:49:48 -0700
committerStéphane Marchesin <[email protected]>2011-10-04 11:19:48 -0700
commit3db309aecee57d7e0055a49a0e12a491a554347b (patch)
treeb0c2674ae23fe8ec4852b33892e053dcdd01a477 /src/mesa/drivers
parentcd9627777c3f1a55560e10912b88b1977c8bfe87 (diff)
configure: replace pkg-config calls with $(PKG_CONFIG) in the makefiles.
Us poor souls who cross compile mesa want to be able to specify which pkg-config to pick, or at least just change one place. Reviewed-by: Brian Paul <[email protected]> Reviewed-by: Matt Turner <[email protected]>
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r--src/mesa/drivers/dri/i915/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i915/Makefile b/src/mesa/drivers/dri/i915/Makefile
index e2e5382b782..b7da46bc3b6 100644
--- a/src/mesa/drivers/dri/i915/Makefile
+++ b/src/mesa/drivers/dri/i915/Makefile
@@ -16,7 +16,7 @@ C_SOURCES = \
ASM_SOURCES =
DRIVER_DEFINES = $(addprefix -I$(TOP)/, $(i915_INCLUDES)) -DI915 \
- $(shell pkg-config libdrm --atleast-version=2.3.1 \
+ $(shell $(PKG_CONFIG) libdrm --atleast-version=2.3.1 \
&& echo "-DDRM_VBLANK_FLIP=DRM_VBLANK_FLIP")
INCLUDES += $(INTEL_CFLAGS)