Commit c96ea579 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont
Browse files

Generate plugins cache during staged (native) installation

parent 0a2f90d4
......@@ -75,10 +75,10 @@ stamp-cache:
fi
install-exec-hook:
if test -z "$(DESTDIR)" -a "$(build)" = "$(host)"; then \
LD_LIBRARY_PATH="$(libdir)" \
"$(vlclibdir)/vlc-cache-gen$(EXEEXT)" \
"$(vlclibdir)/plugins" ; \
if test "$(build)" = "$(host)"; then \
LD_LIBRARY_PATH="$(DESTDIR)$(libdir):$$LD_LIBRARY_PATH" \
"$(DESTDIR)$(vlclibdir)/vlc-cache-gen$(EXEEXT)" \
"$(DESTDIR)$(vlclibdir)/plugins" ; \
else \
echo "Staged installation: cache generation skipped!" ; \
echo "Cross-compilation: cache generation skipped!" ; \
fi
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment