summaryrefslogtreecommitdiff
path: root/progs
diff options
context:
space:
mode:
authorDan Nicholson <dbn.lists@gmail.com>2010-04-18 09:33:03 -0700
committerDan Nicholson <dbn.lists@gmail.com>2010-04-19 20:21:57 -0700
commit88be2171e7336201e5ee97ade36ba3de4fe939bf (patch)
treecf96ceef99bc18ae43e59888a032a8005de73481 /progs
parent8e5effefc7e1cf147315841894d1548f09b96cbc (diff)
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 <dbn.lists@gmail.com>
Diffstat (limited to 'progs')
-rw-r--r--progs/egl/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/progs/egl/Makefile b/progs/egl/Makefile
index 8dfcb4eabc..fe490c2f8e 100644
--- a/progs/egl/Makefile
+++ b/progs/egl/Makefile
@@ -4,7 +4,7 @@ TOP = ../..
include $(TOP)/configs/current
-INCLUDE_DIRS = -I$(TOP)/include
+INCLUDE_DIRS = -I$(TOP)/include $(X11_CFLAGS)
HEADERS = $(TOP)/include/GLES/egl.h
LIB_DEP = $(TOP)/$(LIB_DIR)/libEGL.so