[vlc-devel] [PATCH] win32: package: create the plugins.dat based on the installed plugins
Steve Lhomme
robux4 at videolabs.io
Tue Oct 17 10:59:21 CEST 2017
Otherwise the cache detects the files are modified and doesn't use the cache
properly.
---
extras/package/win32/package.mak | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/extras/package/win32/package.mak b/extras/package/win32/package.mak
index b42c53341d..4fcf36a23f 100644
--- a/extras/package/win32/package.mak
+++ b/extras/package/win32/package.mak
@@ -61,6 +61,14 @@ endif
# HRTF
cp -r $(srcdir)/share/hrtfs $(win32_destdir)/
+# plugins.dat
+ if test "$(build)" = "$(host)"; then \
+ "$(win32_destdir)/vlc-cache-gen$(EXEEXT)" \
+ "$(win32_destdir)/plugins" ; \
+ else \
+ echo "Cross-compilation: cache generation skipped!" ; \
+ fi
+
# SDK
mkdir -p "$(win32_destdir)/sdk/lib/"
cp -r $(prefix)/include "$(win32_destdir)/sdk"
--
2.14.2
More information about the vlc-devel
mailing list