vlc | branch: master | Steve Lhomme <[email protected]> | Tue Jun 23 11:14:43 2020 +0200| [79821b196f269d1d1512750e3f88c2727862f6ef] | committer: Steve Lhomme
package: win32: copy the PDBs during package-win-install The PDBs should be next to the DLL used so that the debugger can find them easily. > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=79821b196f269d1d1512750e3f88c2727862f6ef --- extras/package/win32/package.mak | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/extras/package/win32/package.mak b/extras/package/win32/package.mak index aa1c44a1a9..fa442d0fb9 100644 --- a/extras/package/win32/package.mak +++ b/extras/package/win32/package.mak @@ -25,6 +25,11 @@ package-win-install: $(MAKE) install cp '$(DESTDIR)$(libdir)/libvlc.dll.a' '$(DESTDIR)$(libdir)/libvlc.lib' cp '$(DESTDIR)$(libdir)/libvlccore.dll.a' '$(DESTDIR)$(libdir)/libvlccore.lib' +if ENABLE_PDB + cp lib/.libs/libvlc.pdb '$(DESTDIR)$(bindir)' + cp src/.libs/libvlccore.pdb '$(DESTDIR)$(bindir)' + find '$(DESTDIR)$(libdir)/vlc/plugins' -name "*.dll" -exec sh -c "echo {} | sed -e 's@$(DESTDIR)$(libdir)/vlc/plugins/\(.*\)/\(.*\).dll@modules/.libs/\2.pdb $(DESTDIR)$(libdir)/vlc/plugins/\1@' | xargs -t cp " \; +endif touch $@ package-win-sdk: package-win-install _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
