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

Sebastian Ramacher git at videolan.org
Thu Jan 22 15:39:58 CET 2015


vlc/vlc-2.2 | branch: master | Sebastian Ramacher <sramacher at debian.org> | Sat Jan 10 22:01:04 2015 +0000| [d4fc19a5cc83340992339c7fc503dd2df7b58dcc] | 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>
(cherry picked from commit 6987c696afae74624552f26b1d5f445e974b5d52)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

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

 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