pkgsrc-ng/graphics/MesaLib/patches/patch-src_gallium_targets_dri_Makefile.in
2016-01-21 23:41:46 +01:00

16 lines
559 B
Plaintext

$NetBSD: patch-src_gallium_targets_dri_Makefile.in,v 1.1 2015/04/25 11:19:18 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/gallium/targets/dri/Makefile.in.orig 2015-03-28 18:43:38.000000000 +0000
+++ src/gallium/targets/dri/Makefile.in
@@ -735,6 +735,7 @@ GALLIUM_TARGET_CFLAGS = \
$(VISIBILITY_CFLAGS)
GALLIUM_COMMON_LIB_DEPS = \
+ $(top_srcdir)/src/mapi/shared-glapi/libglapi.la \
-lm \
$(CLOCK_LIB) \
$(PTHREAD_LIBS) \