summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Turner <[email protected]>2012-08-23 13:48:36 -0700
committerMatt Turner <[email protected]>2012-08-23 14:07:35 -0700
commitfc9ea7c74dc5cb996c3d9fe6663fd6da080e8360 (patch)
tree8092bfd06dce858f75a0f17635e4214e7c729648
parente592f7df0361eb8b5c75944f0151c4e6b3f839dd (diff)
build: Fix GLES linkage with libglapi
Reported-by: Ian Romanick <[email protected]>
-rw-r--r--src/mapi/es1api/Makefile.am2
-rw-r--r--src/mapi/es2api/Makefile.am2
2 files changed, 2 insertions, 2 deletions
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