summaryrefslogtreecommitdiffstats
path: root/progs/egl/opengles2/Makefile
diff options
context:
space:
mode:
authorDan Nicholson <[email protected]>2010-04-19 20:25:17 -0700
committerDan Nicholson <[email protected]>2010-04-19 20:25:17 -0700
commita69ef34640aa37f886b94631f7c2a91baa56a644 (patch)
tree1e8ef093922d3b0e9cd28ecabb722bedf1753529 /progs/egl/opengles2/Makefile
parent02224ec4e0de8072c9d730821f88e0a00212ff50 (diff)
egl: Fix demos to build with user specified Xlib
Commit 88be2171e7 fixed the egl demos on the stable branch, but now they're spread out across multiple subdirectories. Signed-off-by: Dan Nicholson <[email protected]>
Diffstat (limited to 'progs/egl/opengles2/Makefile')
-rw-r--r--progs/egl/opengles2/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/progs/egl/opengles2/Makefile b/progs/egl/opengles2/Makefile
index 710c4d8c130..1ee2af24127 100644
--- a/progs/egl/opengles2/Makefile
+++ b/progs/egl/opengles2/Makefile
@@ -6,6 +6,7 @@ include $(TOP)/configs/current
INCLUDE_DIRS = \
-I$(TOP)/include \
+ $(X11_CFLAGS)
HEADERS = $(TOP)/include/GLES/egl.h
@@ -17,7 +18,7 @@ ES2_LIB_DEPS = \
ES2_LIBS = \
-L$(TOP)/$(LIB_DIR) -lEGL \
- -L$(TOP)/$(LIB_DIR) -lGLESv2 $(LIBDRM_LIB) -lX11
+ -L$(TOP)/$(LIB_DIR) -lGLESv2 $(LIBDRM_LIB) $(X11_LIBS)
PROGRAMS = \
es2_info \