[Mesa-dev] [PATCH 3/4] i965: Convert the build to using automake.

Matt Turner mattst88 at gmail.com
Thu Jan 12 17:52:33 PST 2012


On Thu, Jan 12, 2012 at 7:08 PM, Eric Anholt <eric at anholt.net> wrote:
> This does introduce a warning by the automake build system, that the
> missing-symbols test build is non-portable.  That's true -- Mac OS X
> can't take something built as a loadable module and just link it as a
> library.  Of course, we aren't building this on OS X at all, so it
> would be nice to be able to suppress it, but I haven't found a way.
>
> Still, the build is going to be much quieter than we have ever had
> before, so I think this is a fair tradeoff until we find a way to shut
> that warning up.
> ---

If you want to still put i965_dri.so into the lib/ directory, here's
what I've done for libglsl.so:

all-local: libglsl.la
        if test ! -f "$(top_srcdir)/$(LIB_DIR)/libglsl.so"; then \
                $(MKDIR_P) $(top_srcdir)/$(LIB_DIR); \
                ln .libs/libglsl.so $(top_srcdir)/$(LIB_DIR)/libglsl.so; \
        fi

Maybe there's a better way. I don't know.


More information about the mesa-dev mailing list