[vlc-commits] add bin to PATH to let libvlc.dll be found by vlc-cache-gen.exe

Sergey Radionov git at videolan.org
Sun Feb 5 18:58:21 CET 2012


vlc | branch: master | Sergey Radionov <rsatom at gmail.com> | Sun Dec 25 10:54:34 2011 +0700| [ffcee64d73df91ff5072dd0977cf6895b516a54b] | committer: Rafaël Carré

add bin to PATH to let libvlc.dll be found by vlc-cache-gen.exe

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 at videolan.org>

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

 Makefile.am |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index c34b99e..e4a5b5e 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -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" ; \



More information about the vlc-commits mailing list