From 1d2ff452d4dd8fb7f2f5e53b360b29254fc4db41 Mon Sep 17 00:00:00 2001 From: José Fonseca Date: Thu, 25 Oct 2007 15:46:40 +0100 Subject: Expand pkg-config flags before invoking the compiler. This allows IDEs such as Eclipse to get the correct c-preprocessor flags used from the build output. --- configs/linux-dri | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'configs/linux-dri') diff --git a/configs/linux-dri b/configs/linux-dri index 63e065a40fa..936fce99829 100644 --- a/configs/linux-dri +++ b/configs/linux-dri @@ -38,8 +38,8 @@ ASM_SOURCES = # Library/program dependencies EXTRA_LIB_PATH=-L/usr/X11R6/lib -LIBDRM_CFLAGS = `pkg-config --cflags libdrm` -LIBDRM_LIB = `pkg-config --libs libdrm` +LIBDRM_CFLAGS = $(shell pkg-config --cflags libdrm) +LIBDRM_LIB = $(shell pkg-config --libs libdrm) DRI_LIB_DEPS = $(EXTRA_LIB_PATH) -lm -lpthread -lexpat -ldl $(LIBDRM_LIB) GL_LIB_DEPS = $(EXTRA_LIB_PATH) -lX11 -lXext -lXxf86vm -lXdamage -lXfixes \ -lm -lpthread -ldl \ -- cgit v1.2.3