[Mesa-dev] [PATCH] mapi: explicitly annotate the shared glapi as such

Emil Velikov emil.l.velikov at gmail.com
Tue Dec 19 13:31:59 UTC 2017


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

slibtool seems to get confused otherwise - producing both shared and
static library, and even linking the static one.

Cc: <mesa-stable at lists.freedesktop.org>
Cc: Brendan King <Brendan.King at imgtec.com>
Cc: Eric Engestrom <eric.engestrom at imgtec.com>
Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
---
 src/mapi/Makefile.am | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/mapi/Makefile.am b/src/mapi/Makefile.am
index 3f8fcc02e55..2d253953462 100644
--- a/src/mapi/Makefile.am
+++ b/src/mapi/Makefile.am
@@ -77,6 +77,7 @@ shared_glapi_libglapi_la_LIBADD = \
 	$(PTHREAD_LIBS) \
 	$(SELINUX_LIBS)
 shared_glapi_libglapi_la_LDFLAGS = \
+	-shared \
 	-no-undefined \
 	$(GC_SECTIONS) \
 	$(LD_NO_UNDEFINED)
-- 
2.15.0



More information about the mesa-dev mailing list