pkgsrc-ng/graphics/MesaLib/patches/patch-src_mesa_drivers_dri_Makefile.in
2016-01-21 23:42:40 +01:00

16 lines
632 B
Plaintext

$NetBSD: patch-src_mesa_drivers_dri_Makefile.in,v 1.2 2015/09/11 00:03:36 tnn Exp $
DRI drivers need explicit linkage to glapi. FDO bug 57702. We only need to do
this for the "mega" drivers since that's where final linking takes place.
--- src/mesa/drivers/dri/Makefile.in.orig 2015-07-04 11:11:08.000000000 +0000
+++ src/mesa/drivers/dri/Makefile.in
@@ -583,6 +583,7 @@ mesa_dri_drivers_la_LIBADD = \
common/libxmlconfig.la \
$(MEGADRIVERS_DEPS) \
$(DRI_LIB_DEPS) \
+ $(top_srcdir)/src/mapi/shared-glapi/libglapi.la \
$()
@NEED_MEGADRIVER_TRUE@dri_LTLIBRARIES = mesa_dri_drivers.la