From 9d3de643d1cd84cd0f48ff72ab7218f20b158c28 Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Fri, 7 Apr 2006 03:20:56 +0000 Subject: make miniglx use libdrm properly --- src/mesa/drivers/dri/Makefile.template | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/mesa') diff --git a/src/mesa/drivers/dri/Makefile.template b/src/mesa/drivers/dri/Makefile.template index f07dda31714..b5e062f9c0a 100644 --- a/src/mesa/drivers/dri/Makefile.template +++ b/src/mesa/drivers/dri/Makefile.template @@ -25,8 +25,7 @@ WINOBJ= WINLIB=-L$(MESA)/src/glx/mini MINIGLX_INCLUDES = -I$(TOP)/src/glx/mini INCLUDES = $(MINIGLX_INCLUDES) \ - -I$(DRM_SOURCE_PATH)/shared-core \ - -I$(DRM_SOURCE_PATH)/libdrm \ + `pkg-config --cflags libdrm` \ $(SHARED_INCLUDES) OBJECTS = $(C_SOURCES:.c=.o) \ @@ -40,7 +39,7 @@ SHARED_INCLUDES = \ -I. \ -I$(TOP)/src/mesa/drivers/dri/common \ -Iserver \ - -I$(DRM_SOURCE_PATH)/shared-core \ + `pkg-config --cflags libdrm` \ -I$(TOP)/include \ -I$(TOP)/include/GL/internal \ -I$(TOP)/src/mesa \ -- cgit v1.2.3