summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/x11/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/drivers/x11/Makefile')
-rw-r--r--src/mesa/drivers/x11/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/drivers/x11/Makefile b/src/mesa/drivers/x11/Makefile
index f94aae85f2c..6b2a13c974f 100644
--- a/src/mesa/drivers/x11/Makefile
+++ b/src/mesa/drivers/x11/Makefile
@@ -47,6 +47,9 @@ INCLUDE_DIRS = \
CORE_MESA = $(TOP)/src/mesa/libmesa.a $(TOP)/src/mapi/glapi/libglapi.a
+ifeq ($(SHARED_GLAPI),1)
+GL_LIB_DEPS := -L$(TOP)/$(LIB_DIR) -l$(GLAPI_LIB) $(GL_LIB_DEPS)
+endif
.c.o: