On Thu, Mar 27, 2014 at 2:00 PM, Emil Velikov <emil.l.veli...@gmail.com> wrote:
> We've been copying and pasting this hunk for a while now, only to prevent
> build issues on very old and buggy build toolchains. At this point this
> should no longer be needed, so we can cleanup all the mess and simplify
> our makefiles.

That's not why. It's because if all of your source files for a target
are .c, but you link with a .la file containing C++ then you need to
link using a C++ linker. Automake doesn't know that there's C++ in the
static library, so it doesn't know to link with g++.

So I can't review this patch, because I don't know whether what you're
trying to do is based on reality or not.
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to