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

Rafaël Carré rafael.carre at gmail.com
Wed Dec 28 15:19:50 CET 2011


Le 2011-12-24 22:54, Sergey Radionov a écrit :
> 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" ; \

LGTM



More information about the vlc-devel mailing list