Reported-by: Ian Romanick <idr@freedesktop.org>
lib_LTLIBRARIES = libGLESv1_CM.la
libGLESv1_CM_la_SOURCES = ../mapi/entry.c glapi_mapi_tmp.h
-libGLESv1_CM_la_LIBADD = $(GLESv1_CM_LIB_DEPS)
+libGLESv1_CM_la_LIBADD = $(GLESv1_CM_LIB_DEPS) ../shared-glapi/libglapi.la
libGLESv1_CM_la_LDFLAGS = -version-number 1:1 -no-undefined
include ../glapi/gen/glapi_gen.mk
lib_LTLIBRARIES = libGLESv2.la
libGLESv2_la_SOURCES = ../mapi/entry.c glapi_mapi_tmp.h
-libGLESv2_la_LIBADD = $(GLESv2_LIB_DEPS)
+libGLESv2_la_LIBADD = $(GLESv2_LIB_DEPS) ../shared-glapi/libglapi.la
libGLESv2_la_LDFLAGS = -version-number 2 -no-undefined
include ../glapi/gen/glapi_gen.mk