[vlc-devel] [PATCH v2 10/10] win32: package: generate plugins.dat once the install folder is ready

Steve Lhomme robux4 at ycbcr.xyz
Tue May 12 17:08:13 CEST 2020


---
 extras/package/win32/package.mak | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/extras/package/win32/package.mak b/extras/package/win32/package.mak
index e31dad9e19c9..1cdd36bae3c4 100644
--- a/extras/package/win32/package.mak
+++ b/extras/package/win32/package.mak
@@ -23,6 +23,10 @@ endif
 
 package-win-install:
 	$(MAKE) install
+if HAVE_RUN_HOST
+	cd $(win32_destdir) && rm -f plugins/plugins.dat && \
+	$(RUN_HOST_CMD) ./vlc-cache-gen$(EXEEXT) `$(PATH_TO_HOST_CMD) \`pwd\`/plugins`
+endif
 	touch $@
 
 package-win-sdk: package-win-install
-- 
2.26.2



More information about the vlc-devel mailing list