OSDN Git Service

gbm: do not (over)link against libglapi.so
authorEmil Velikov <emil.l.velikov@gmail.com>
Fri, 19 Jun 2015 18:22:38 +0000 (19:22 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Wed, 1 Jul 2015 14:22:39 +0000 (15:22 +0100)
The whole of GBM does not rely on even a single symbol from the GL
dispatch library, unsuprisingly. The only need for it comes from the
unresolved symbols in the DRI modules, which are now correctly handled
with Frank's commit.

Cc: "10.5 10.6" <mesa-stable@lists.freedesktop.org>
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
(cherry picked from commit a0dc6b7824d3b9095919e29393a379ea7f9c1318)

src/gbm/Makefile.am

index dbd4f83..918fdf7 100644 (file)
@@ -52,7 +52,8 @@ libgbm_dri_la_CFLAGS = \
        $(LIBDRM_CFLAGS)
 
 libgbm_la_LIBADD += \
-       libgbm_dri.la $(top_builddir)/src/mapi/shared-glapi/libglapi.la $(LIBDRM_LIBS)
+       libgbm_dri.la \
+       $(LIBDRM_LIBS)
 endif
 
 TESTS = gbm-symbols-check