[PATCH:libXaw3d] Add xext to required modules for Shape extension calls

Matthieu Herrb matthieu.herrb at laas.fr
Sat Sep 3 14:29:12 PDT 2011


On Sat, Sep 03, 2011 at 11:34:35AM -0700, Alan Coopersmith wrote:
> Without this, strict linkers like Solaris ld & gold would fail with:
> 
> Undefined                       first referenced
>  symbol                             in file
> XShapeQueryExtension                .libs/Command.o  (symbol belongs to implicit dependency libXext.so.0)
> 
> Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>

Reviewed-by: Matthieu Herrb <matthieu.herrb at laas.fr>

> ---
> 
> I'm assuming gold would give similar errors, based on past reports/patches
> and http://wiki.debian.org/ToolChain/DSOLinking , but I didn't try it.
> 
>  configure.ac |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/configure.ac b/configure.ac
> index c5e2f0b..c70959c 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -30,7 +30,7 @@ fi
>  AC_PROG_LEX
>  
>  # Checks for header files.
> -PKG_CHECK_MODULES(X11, [x11 xt xmu])
> +PKG_CHECK_MODULES(X11, [x11 xt xmu xext])
>  AC_CHECK_HEADERS([wctype.h wchar.h widec.h])
>  AC_CHECK_FUNCS([iswspace])
>  
> -- 
> 1.7.3.2
> 
> _______________________________________________
> xorg-devel at lists.x.org: X.Org development
> Archives: http://lists.x.org/archives/xorg-devel
> Info: http://lists.x.org/mailman/listinfo/xorg-devel

-- 
Matthieu Herrb


More information about the xorg-devel mailing list