[PATCH] Record some additional library dependencies in xf86 modules

Julien Cristau jcristau at debian.org
Fri Jun 4 00:24:18 PDT 2010


On Thu, Jun  3, 2010 at 20:13:24 -0700, Alan Coopersmith wrote:

> Helps with symbol resolution when building with -z defs
> 
> Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
> ---
>  hw/xfree86/dixmods/Makefile.am |    2 +-
>  hw/xfree86/int10/Makefile.am   |    1 +
>  2 files changed, 2 insertions(+), 1 deletions(-)
> 
> diff --git a/hw/xfree86/dixmods/Makefile.am b/hw/xfree86/dixmods/Makefile.am
> index 365f006..e7b1eb8 100644
> --- a/hw/xfree86/dixmods/Makefile.am
> +++ b/hw/xfree86/dixmods/Makefile.am
> @@ -35,7 +35,7 @@ libdbe_la_LIBADD = $(top_builddir)/dbe/libdbe.la
>  libdbe_la_SOURCES = dbemodule.c
>  
>  libfb_la_LDFLAGS = -avoid-version
> -libfb_la_LIBADD = $(top_builddir)/fb/libfb.la
> +libfb_la_LIBADD = $(top_builddir)/fb/libfb.la -lpixman-1
>  libfb_la_SOURCES = $(top_builddir)/fb/fbcmap_mi.c fbmodule.c
>  libfb_la_CFLAGS = $(AM_CFLAGS)
>  
maybe add a PKG_CHECK_MODULES(PIXMAN, pixman-1) in configure.ac, and use
PIXMAN_LIBS here?

Cheers,
Julien


More information about the xorg-devel mailing list