[PATCH v2 util/modular] build.sh: Simplify checks for ACLOCAL, PKG_CONFIG_PATH, etc.

Julien Cristau jcristau at debian.org
Fri May 14 01:21:13 PDT 2010


On Fri, May 14, 2010 at 11:06:18 +1000, Peter Hutterer wrote:

>  # Set the library path so that locally built libs will be found by apps
> -if test x"$LD_LIBRARY_PATH" = x; then
> -    LD_LIBRARY_PATH=${DESTDIR}${PREFIX}/${LIBDIR}
> -else
> -    LD_LIBRARY_PATH=${DESTDIR}${PREFIX}/${LIBDIR}:${LD_LIBRARY_PATH}
> -fi
> +LD_LIBRARY_PATH=${DESTDIR}${PREFIX}/${LIBDIR}${LD_LIBRARY_PATH+:$PATH}
>  export LD_LIBRARY_PATH
>  
s/$PATH/$LD_LIBRARY_PATH/

with that change,
Reviewed-by: Julien Cristau <jcristau at debian.org>

Cheers,
Julien


More information about the xorg-devel mailing list