[vlc-commits] win32: package: install generated .pdb files with package-win-common
Steve Lhomme
git at videolan.org
Tue May 21 15:30:57 CEST 2019
vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Thu May 16 09:22:53 2019 +0200| [c631c3415b2de28dab5faa9ad984246e05e5daf5] | committer: Steve Lhomme
win32: package: install generated .pdb files with package-win-common
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=c631c3415b2de28dab5faa9ad984246e05e5daf5
---
extras/package/win32/package.mak | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/extras/package/win32/package.mak b/extras/package/win32/package.mak
index 0d7e57bde6..c2c69d6bcd 100644
--- a/extras/package/win32/package.mak
+++ b/extras/package/win32/package.mak
@@ -40,6 +40,11 @@ package-win-sdk: package-win-install
package-win-common: package-win-install package-win-sdk
# Executables, major libs
find $(prefix) -maxdepth 4 \( -name "*$(LIBEXT)" -o -name "*$(EXEEXT)" \) -exec cp {} "$(win32_destdir)/" \;
+if ENABLE_PDB
+ for dir in bin lib src; do \
+ cp $$dir/.libs/*.pdb $(win32_destdir); \
+ done
+endif
# Text files, clean them from mail addresses
for file in AUTHORS THANKS ; \
@@ -55,6 +60,12 @@ package-win-common: package-win-install package-win-sdk
mkdir -p "$$plugin_destdir"; \
find "$$plugindir" -type f \( -not -name '*.la' -and -not -name '*.a' \) -exec cp -v "{}" "$$plugin_destdir" \; ;\
done
+if ENABLE_PDB
+ for plugindir in $(prefix)/lib/vlc/plugins/*/; do \
+ plugin_destdir="$(win32_destdir)/plugins/`basename $$plugindir`"; \
+ for plugin in $$(find "$$plugindir" -type f \( -not -name '*.la' -and -not -name '*.a' \)); do cp modules/.libs/$$(basename "$$plugin" | sed s/dll/pdb/) "$$plugin_destdir"; done; \
+ done
+endif
-cp -r $(prefix)/share/locale $(win32_destdir)
# BD-J JAR
More information about the vlc-commits
mailing list