On Sat, Jan 12, 2013 at 10:23 AM, Johannes Obermayr
<johannesoberm...@gmx.de> wrote:
> diff --git a/src/gallium/auxiliary/Makefile.am 
> b/src/gallium/auxiliary/Makefile.am
> index a4eee47..21b3c6b 100644
> --- a/src/gallium/auxiliary/Makefile.am
> +++ b/src/gallium/auxiliary/Makefile.am
> @@ -3,13 +3,17 @@ AUTOMAKE_OPTIONS = subdir-objects
>  include Makefile.sources
>  include $(top_srcdir)/src/gallium/Automake.inc
>
> -noinst_LTLIBRARIES = libgallium.la
> +lib_LTLIBRARIES = libgallium@VERSION@.la
I probably missed the discussion.  I suppose libgallium is meant to be
internal.  What motivates the change?

> +
> +libgallium@VERSION@_la_LDFLAGS = -Wl,--no-undefined -shared -avoid-version
> +
> +libgallium@VERSION@_la_LIBADD = $(DLOPEN_LIBS) $(CLOCK_LIB)
>
>  AM_CFLAGS = \
>         -I$(top_srcdir)/src/gallium/auxiliary/util \
>         $(GALLIUM_CFLAGS)
>
> -libgallium_la_SOURCES = \
> +libgallium@VERSION@_la_SOURCES = \
>         $(C_SOURCES) \
>         $(GENERATED_SOURCES)
>
> @@ -28,10 +32,14 @@ AM_CXXFLAGS += -fno-rtti
>
>  endif
>
> -libgallium_la_SOURCES += \
> +libgallium@VERSION@_la_SOURCES += \
>         $(GALLIVM_SOURCES) \
>         $(GALLIVM_CPP_SOURCES)
>
> +libgallium@VERSION@_la_LIBADD += $(LLVM_LIBS)
> +
> +libgallium@VERSION@_la_LDFLAGS += $(LLVM_LDFLAGS)
> +
>  endif
>


-- 
o...@lunarg.com
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to