Commit e8c785df authored by Hugo Beauzée-Luyssen's avatar 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

(cherry picked from commit 73f6b44d)
Signed-off-by: default avatarHugo Beauzée-Luyssen <>
parent 37136365
......@@ -50,8 +50,11 @@ package-win-common: package-win-install package-win-sdk
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" \; ;\
-cp -r $(prefix)/share/locale $(win32_destdir)
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