]> git.sesse.net Git - vlc/commitdiff
add bin to PATH to let libvlc.dll be found by vlc-cache-gen.exe
authorSergey Radionov <rsatom@gmail.com>
Sun, 25 Dec 2011 03:54:34 +0000 (10:54 +0700)
committerRafaël Carré <funman@videolan.org>
Sun, 5 Feb 2012 17:58:05 +0000 (12:58 -0500)
Fix "This application has failed to start because libvlc.dll
was not found. Re-installing the application may fix this problem."
during building of vlc under Windows.

Signed-off-by: Rafaël Carré <funman@videolan.org>
Makefile.am

index c34b99eab54a2a93fb5b4ab10bfa76fc0fa5ed21..e4a5b5e2700f98d9e0de200947b949fc86199886 100644 (file)
@@ -449,6 +449,7 @@ vlc$(EXEEXT):
 ###############################################################################
 install-exec-hook:
        if test "$(build)" = "$(host)"; then \
+               PATH="$(DESTDIR)$(bindir):$$PATH" \
                LD_LIBRARY_PATH="$(DESTDIR)$(libdir):$$LD_LIBRARY_PATH" \
                "$(DESTDIR)$(vlclibdir)/vlc-cache-gen$(EXEEXT)" \
                         "$(DESTDIR)$(vlclibdir)/plugins" ; \