[Mesa-dev] [PATCH 1/2] build: Fix GLES linkage with libglapi
Matt Turner
mattst88 at gmail.com
Thu Aug 23 13:54:31 PDT 2012
Reported-by: Ian Romanick <idr at freedesktop.org>
---
Previous patch was wrong, since it depended on the system libglapi.
src/mapi/es1api/Makefile.am | 2 +-
src/mapi/es2api/Makefile.am | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/mapi/es1api/Makefile.am b/src/mapi/es1api/Makefile.am
index 5c7258f..c49c86e 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 edd3c9f..7430780 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
--
1.7.8.6
More information about the mesa-dev
mailing list