From: Emil Velikov <[email protected]>

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

Cc: <[email protected]>
Cc: Brendan King <[email protected]>
Cc: Eric Engestrom <[email protected]>
Signed-off-by: Emil Velikov <[email protected]>
---
 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

_______________________________________________
mesa-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to