[Mesa-dev] [PATCH] gallium/r300/tests: Link against libmesautil

Jason Ekstrand jason at jlekstrand.net
Tue Aug 5 13:57:59 PDT 2014


On Tue, Aug 5, 2014 at 11:24 AM, Ilia Mirkin <imirkin at alum.mit.edu> wrote:

> On Tue, Aug 5, 2014 at 2:23 PM, Jason Ekstrand <jason at jlekstrand.net>
> wrote:
> > Signed-off-by: Jason Ekstrand <jason.ekstrand at intel.com>
> > ---
> >  src/gallium/drivers/r300/Makefile.am | 1 +
> >  1 file changed, 1 insertion(+)
> >
> > diff --git a/src/gallium/drivers/r300/Makefile.am
> b/src/gallium/drivers/r300/Makefile.am
> > index ae6e8d2..628574a 100644
> > --- a/src/gallium/drivers/r300/Makefile.am
> > +++ b/src/gallium/drivers/r300/Makefile.am
> > @@ -20,6 +20,7 @@ TESTS = r300_compiler_tests
> >  r300_compiler_tests_LDADD = libr300.la libr300-helper.la \
> >         $(top_builddir)/src/util/libmesautil.la \
> >         $(top_builddir)/src/gallium/auxiliary/libgallium.la \
> > +       $(top_builddir)/src/util/libmesautil.la \
>
> Is that really necessary? See 2 lines up...
>

lol... It is, because of link order.  libmesautil needs to go after, but
certainly doesn't need to be in there twice.
--Jason


>
> >         $(GALLIUM_COMMON_LIB_DEPS)
> >  r300_compiler_tests_CPPFLAGS = \
> >         -I$(top_srcdir)/src/gallium/drivers/r300/compiler
> > --
> > 2.0.4
> >
> > _______________________________________________
> > mesa-dev mailing list
> > mesa-dev at lists.freedesktop.org
> > http://lists.freedesktop.org/mailman/listinfo/mesa-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20140805/ed1718a9/attachment.html>


More information about the mesa-dev mailing list