Skip to content

Commit

Permalink
Generate plugins cache during staged (native) installation
Browse files Browse the repository at this point in the history
  • Loading branch information
Rémi Denis-Courmont committed Aug 17, 2011
1 parent 0a2f90d commit c96ea57
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions modules/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit c96ea57

Please sign in to comment.