[vlc-devel] [PATCH 1/1] add bin to PATH to let libvlc.dll be found by vlc-cache-gen.exe

Sergey Radionov rsatom at gmail.com
Sun Dec 25 04:54:34 CET 2011


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.
---
 Makefile.am |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index 358ac5f..dae8ad1 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -406,6 +406,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" ; \
-- 
1.7.7.1.msysgit.0




More information about the vlc-devel mailing list