[vlc-commits] zsh completion: add $BUILDDIR/lib/.libs to LD_LIBRARY_PATH

Sebastian Ramacher git at videolan.org
Mon Jan 12 23:29:12 CET 2015


vlc | branch: master | Sebastian Ramacher <sramacher at debian.org> | Sat Jan 10 22:01:04 2015 +0000| [6987c696afae74624552f26b1d5f445e974b5d52] | committer: Jean-Baptiste Kempf

zsh completion: add $BUILDDIR/lib/.libs to LD_LIBRARY_PATH

zsh_gen is linked against libvlc from $BUILDDIR/lib/.libs and needs it in
LD_LIBRARY_PATH to run.

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=6987c696afae74624552f26b1d5f445e974b5d52
---

 extras/analyser/zsh_completion.sh |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/extras/analyser/zsh_completion.sh b/extras/analyser/zsh_completion.sh
index fbfa782..a380a90 100755
--- a/extras/analyser/zsh_completion.sh
+++ b/extras/analyser/zsh_completion.sh
@@ -53,7 +53,7 @@ if ! find_libvlccore; then
     exit 1
 fi
 
-export LD_LIBRARY_PATH=$BUILDDIR/src/.libs
+export LD_LIBRARY_PATH=$BUILDDIR/src/.libs:$BUILDDIR/lib/.libs
 CXXFLAGS="$CXXFLAGS -g -O0"
 
 if [ -e ../../extras/contrib/config.mak -a ! "`grep HOST ../../extras/contrib/config.mak 2>/dev/null|awk '{print $3}'`" != "$HOST" ]; then



More information about the vlc-commits mailing list