summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHenri Verbeet <[email protected]>2011-03-07 21:15:02 +0100
committerHenri Verbeet <[email protected]>2011-03-07 21:48:20 +0100
commitc3c91a0fe5e9a497c44481bcd072093e6edaac50 (patch)
tree978ba8fc86434a34ab8a1c35f8e6d91c861384a0
parent6547253bd138db815173c00ca2dc220e8ad20ab1 (diff)
glx: Take GLPROTO_CFLAGS into account.
-rw-r--r--configs/autoconf.in1
-rw-r--r--src/glx/Makefile1
2 files changed, 2 insertions, 0 deletions
diff --git a/configs/autoconf.in b/configs/autoconf.in
index a3c69e1d398..4e931a3a9cc 100644
--- a/configs/autoconf.in
+++ b/configs/autoconf.in
@@ -149,6 +149,7 @@ DRI_LIB_DEPS = $(EXTRA_LIB_PATH) @DRI_LIB_DEPS@
LIBDRM_CFLAGS = @LIBDRM_CFLAGS@
LIBDRM_LIB = @LIBDRM_LIBS@
DRI2PROTO_CFLAGS = @DRI2PROTO_CFLAGS@
+GLPROTO_CFLAGS = @GLPROTO_CFLAGS@
EXPAT_INCLUDES = @EXPAT_INCLUDES@
# Autoconf directories
diff --git a/src/glx/Makefile b/src/glx/Makefile
index 3d92ebbe038..dd96973ea8f 100644
--- a/src/glx/Makefile
+++ b/src/glx/Makefile
@@ -64,6 +64,7 @@ INCLUDES = -I. \
-I$(TOP)/src/mapi/glapi \
$(LIBDRM_CFLAGS) \
$(DRI2PROTO_CFLAGS) \
+ $(GLPROTO_CFLAGS) \
$(X11_INCLUDES)