[PATCH v2 util/modular] build.sh: Simplify checks for ACLOCAL, PKG_CONFIG_PATH, etc.
Peter Hutterer
peter.hutterer at who-t.net
Sat May 15 03:38:57 PDT 2010
On Fri, May 14, 2010 at 10:21:13AM +0200, Julien Cristau wrote:
> 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/
thanks, I missed that one.
Cheers,
Peter
> with that change,
> Reviewed-by: Julien Cristau <jcristau at debian.org>
More information about the xorg-devel
mailing list