summaryrefslogtreecommitdiff
path: root/src/mesa/glapi/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/glapi/Makefile')
-rw-r--r--src/mesa/glapi/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/glapi/Makefile b/src/mesa/glapi/Makefile
index 8098f1b314..adc53d9249 100644
--- a/src/mesa/glapi/Makefile
+++ b/src/mesa/glapi/Makefile
@@ -20,7 +20,7 @@ OUTPUTS = glprocs.h glapitemp.h glapioffsets.h glapitable.h dispatch.h \
../../glx/x11/indirect_size.c
-GLX_DIR = $(XORG_BASE)/GL/glx
+GLX_DIR = $(XORG_BASE)/glx
SERVER_GLAPI_FILES = \
$(GLX_DIR)/glapi.h \
@@ -55,7 +55,7 @@ COMMON_GLX = $(COMMON) glX_API.xml glX_XML.py glX_proto_common.py
all: check-xorg-source $(OUTPUTS) $(SERVER_OUTPUTS)
check-xorg-source:
- @if ! test -d $(XORG_BASE)/GL/glx; then \
+ @if ! test -d $(GLX_DIR); then \
echo "ERROR: Must specify path to xserver checkout; set XORG_BASE."; \
exit 1; \
fi