[vlc-commits] win32: package: Fix plugins packaging
Hugo Beauzée-Luyssen
git at videolan.org
Fri Mar 9 11:24:48 CET 2018
vlc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Fri Mar 9 10:57:12 2018 +0100| [73f6b44df6a7193962b562e6ad47517c7867f00f] | committer: Hugo Beauzée-Luyssen
win32: package: Fix plugins packaging
cp --parents was copying the entire hierarchy leading to the plugins
folder, causing resulting builds to fail to load any plugins
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=73f6b44df6a7193962b562e6ad47517c7867f00f
---
extras/package/win32/package.mak | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/extras/package/win32/package.mak b/extras/package/win32/package.mak
index ff78ba840a..6d145896ab 100644
--- a/extras/package/win32/package.mak
+++ b/extras/package/win32/package.mak
@@ -50,8 +50,11 @@ package-win-common: package-win-install package-win-sdk
done
cp $(srcdir)/share/icons/vlc.ico $(win32_destdir)
- mkdir -p "$(win32_destdir)"/plugins
- find $(prefix)/lib/vlc/plugins/ -type f \( -not -name '*.la' -and -not -name '*.a' \) -exec cp -v --parents "{}" "$(win32_destdir)/plugins/" \;
+ for plugindir in $(prefix)/lib/vlc/plugins/*/; do \
+ plugin_destdir="$(win32_destdir)/plugins/`basename $$plugindir`"; \
+ mkdir -p "$$plugin_destdir"; \
+ find "$$plugindir" -type f \( -not -name '*.la' -and -not -name '*.a' \) -exec cp -v "{}" "$$plugin_destdir" \; ;\
+ done
-cp -r $(prefix)/share/locale $(win32_destdir)
# BD-J JAR
More information about the vlc-commits
mailing list