[Mesa-dev] [PATCHv2 automake] gallium/auxiliary: Add possibility to build libgallium shared.

Michel Dänzer michel at daenzer.net
Tue Dec 4 03:52:59 PST 2012


On Die, 2012-12-04 at 02:45 +0100, Johannes Obermayr wrote: 
> 
> diff --git a/src/gallium/auxiliary/Makefile.am b/src/gallium/auxiliary/Makefile.am
> index a4eee47..0e34bee 100644
> --- a/src/gallium/auxiliary/Makefile.am
> +++ b/src/gallium/auxiliary/Makefile.am
> @@ -3,8 +3,16 @@ AUTOMAKE_OPTIONS = subdir-objects
>  include Makefile.sources
>  include $(top_srcdir)/src/gallium/Automake.inc
>  
> +if HAVE_SHARED_GALLIUM
> +
> +lib_LTLIBRARIES = libgallium.la

This should probably be something like libgallium-<major>-<minor>.la, so
binaries from different versions can be used in parallel.


-- 
Earthling Michel Dänzer           |                   http://www.amd.com
Libre software enthusiast         |          Debian, X and DRI developer


More information about the mesa-dev mailing list