--- src/gallium/targets/dri/Makefile.am 2016-10-04 16:23:17.782716013 -0700
+++ src/gallium/targets/dri/Makefile.am 2016-10-04 16:23:32.446643025 -0700
@@ -6,6 +6,8 @@
endif
endif
+SHARED_GLAPI_LIB = $(top_builddir)/src/mapi/shared-glapi/libglapi.la
+
AM_CFLAGS = \
-I$(top_srcdir)/src/mapi \
-I$(top_srcdir)/src/mesa \