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

Generate plugins cache during staged (native) installation

parent 0a2f90d4
...@@ -75,10 +75,10 @@ stamp-cache: ...@@ -75,10 +75,10 @@ stamp-cache:
fi fi
install-exec-hook: install-exec-hook:
if test -z "$(DESTDIR)" -a "$(build)" = "$(host)"; then \ if test "$(build)" = "$(host)"; then \
LD_LIBRARY_PATH="$(libdir)" \ LD_LIBRARY_PATH="$(DESTDIR)$(libdir):$$LD_LIBRARY_PATH" \
"$(vlclibdir)/vlc-cache-gen$(EXEEXT)" \ "$(DESTDIR)$(vlclibdir)/vlc-cache-gen$(EXEEXT)" \
"$(vlclibdir)/plugins" ; \ "$(DESTDIR)$(vlclibdir)/plugins" ; \
else \ else \
echo "Staged installation: cache generation skipped!" ; \ echo "Cross-compilation: cache generation skipped!" ; \
fi fi
Markdown is supported
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