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>
###############################################################################
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" ; \