From: Matt Turner Date: Thu, 23 Aug 2012 20:48:36 +0000 (-0700) Subject: build: Fix GLES linkage with libglapi X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=fc9ea7c74dc5cb996c3d9fe6663fd6da080e8360;p=mesa.git build: Fix GLES linkage with libglapi Reported-by: Ian Romanick --- diff --git a/src/mapi/es1api/Makefile.am b/src/mapi/es1api/Makefile.am index 5c7258fa13c..c49c86ebeed 100644 --- a/src/mapi/es1api/Makefile.am +++ b/src/mapi/es1api/Makefile.am @@ -41,7 +41,7 @@ GLES_include_HEADERS = \ 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 diff --git a/src/mapi/es2api/Makefile.am b/src/mapi/es2api/Makefile.am index edd3c9f2c32..74307809dfa 100644 --- a/src/mapi/es2api/Makefile.am +++ b/src/mapi/es2api/Makefile.am @@ -41,7 +41,7 @@ GLES_include_HEADERS = \ 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