configure: replace pkg-config calls with $(PKG_CONFIG) in the makefiles.
[mesa.git] / src / gallium / state_trackers / dri / drm / Makefile
index c717b2bdeb53ea113cf34c2257e8bf226c404718..695dc0c294c935d27c41e92eebdbc91db534d867 100644 (file)
@@ -10,7 +10,7 @@ LIBRARY_INCLUDES = \
        -I$(TOP)/src/gallium/state_trackers/dri/common \
        -I$(TOP)/src/mesa/drivers/dri/common \
        -I$(TOP)/src/mesa/main \
-         $(shell pkg-config --cflags-only-I libdrm)
+         $(shell $(PKG_CONFIG) --cflags-only-I libdrm)
 
 
 C_SOURCES = \