[Mesa-dev] [PATCH 05/13] mapi/es*api: remove unneeded HAVE_SHARED_GLAPI guard

Emil Velikov emil.l.velikov at gmail.com
Fri Apr 28 13:14:21 UTC 2017


From: Emil Velikov <emil.velikov at collabora.com>

Always true, since GLES* requires shared glapi.

Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
---
 src/mapi/Makefile.am | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/src/mapi/Makefile.am b/src/mapi/Makefile.am
index 7ebe14f5207..61b8470437c 100644
--- a/src/mapi/Makefile.am
+++ b/src/mapi/Makefile.am
@@ -187,10 +187,8 @@ es1api_libGLESv1_CM_la_LDFLAGS = \
 	$(GC_SECTIONS) \
 	$(LD_NO_UNDEFINED)
 
-if HAVE_SHARED_GLAPI
 es1api_libGLESv1_CM_la_LIBADD += shared-glapi/libglapi.la
 endif
-endif
 
 es1api/glapi_mapi_tmp.h: glapi/gen/gl_and_es_API.xml $(glapi_gen_mapi_deps)
 	$(MKDIR_GEN)
@@ -234,10 +232,8 @@ es2api_libGLESv2_la_LDFLAGS = \
 	$(GC_SECTIONS) \
 	$(LD_NO_UNDEFINED)
 
-if HAVE_SHARED_GLAPI
 es2api_libGLESv2_la_LIBADD += shared-glapi/libglapi.la
 endif
-endif
 
 es2api/glapi_mapi_tmp.h: glapi/gen/gl_and_es_API.xml $(glapi_gen_mapi_deps)
 	$(MKDIR_GEN)
-- 
2.12.1



More information about the mesa-dev mailing list