Sorry, forgot to metion in the header: this was for libXt.

Cheers,
        Egbert.

On Wed, Sep 07, 2011 at 04:51:02PM +0200, Egbert Eich wrote:
> Signed-off-by: Egbert Eich <[email protected]>
> ---
>  src/Makefile.am |    2 +-
>  xt.pc.in        |    1 +
>  2 files changed, 2 insertions(+), 1 deletions(-)
> 
> diff --git a/src/Makefile.am b/src/Makefile.am
> index 2b39ec5..727c077 100644
> --- a/src/Makefile.am
> +++ b/src/Makefile.am
> @@ -4,7 +4,7 @@ BUILT_SOURCES = $(BUILT_FILES)
>  CLEANFILES = $(BUILT_SOURCES)
>  
>  SRCH_DEFINES = -DXFILESEARCHPATHDEFAULT=\"$(XFILESEARCHPATHDEFAULT)\"
> -ERRORDB_DEFINES = -DERRORDB=\"$(libdir)/X11/XtErrorDB\"
> +ERRORDB_DEFINES = -DERRORDB=\"$(datarootdir)/X11/XtErrorDB\"
>  
>  AM_CFLAGS = $(CWARNFLAGS) $(XT_CFLAGS) $(SRCH_DEFINES) $(ERRORDB_DEFINES) \
>       $(XTMALLOC_ZERO_CFLAGS)
> diff --git a/xt.pc.in b/xt.pc.in
> index 28ce24a..755e070 100644
> --- a/xt.pc.in
> +++ b/xt.pc.in
> @@ -1,5 +1,6 @@
>  prefix=@prefix@
>  exec_prefix=@exec_prefix@
> +datarootdir=@datarootdir@
>  libdir=@libdir@
>  includedir=@includedir@
>  appdefaultdir=@appdefaultdir@
> -- 
> 1.7.3.4
_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to