configure: replace pkg-config calls with $(PKG_CONFIG) in the makefiles.
[mesa.git] / configs / linux-llvm
index ef6c7bb105a9ca8501c0fd04b015ccfd7b099f4d..259d8ac7a2ea6b5c5668592c2a31d11fe087b2d5 100644 (file)
@@ -44,4 +44,4 @@ LD = g++
 GL_LIB_DEPS = $(LLVM_LDFLAGS) $(LLVM_LIBS) $(EXTRA_LIB_PATH) -lX11 -lXext -lm -lpthread -lstdc++
 
 # to allow the NV drivers to compile
-LIBDRM_CFLAGS = $(shell pkg-config --cflags libdrm)
+LIBDRM_CFLAGS = $(shell $(PKG_CONFIG) --cflags libdrm)