From 88be2171e7336201e5ee97ade36ba3de4fe939bf Mon Sep 17 00:00:00 2001 From: Dan Nicholson Date: Sun, 18 Apr 2010 09:33:03 -0700 Subject: egl: Pass flags to locate Xlib headers and libraries eglplatform.h pulls in Xlib.h on X11 platforms. Likewise, the egl glx driver and egl programs needs to link to libX11. Make sure we use the locations the user told us about. Signed-off-by: Dan Nicholson --- src/gallium/state_trackers/egl/Makefile | 1 + 1 file changed, 1 insertion(+) (limited to 'src/gallium/state_trackers/egl/Makefile') diff --git a/src/gallium/state_trackers/egl/Makefile b/src/gallium/state_trackers/egl/Makefile index 794785006f5..1768241352f 100644 --- a/src/gallium/state_trackers/egl/Makefile +++ b/src/gallium/state_trackers/egl/Makefile @@ -16,6 +16,7 @@ x11_INCLUDES = \ -I$(TOP)/src/gallium/drivers \ -I$(TOP)/src/glx \ -I$(TOP)/src/mesa \ + $(X11_CFLAGS) \ $(shell pkg-config --cflags-only-I libdrm) x11_SOURCES = $(wildcard x11/*.c) \ -- cgit v1.2.3