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

Sebastian Ramacher sramacher at debian.org
Sun Jan 11 00:01:04 CET 2015


zsh_gen is linked against libvlc from $BUILDDIR/lib/.libs and needs it in
LD_LIBRARY_PATH to run.
---
 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
-- 
2.1.4




More information about the vlc-devel mailing list