[vlc-commits] package: win32: copy the .dll.a into th .lib equivalent

Steve Lhomme git at videolan.org
Fri Jun 26 11:41:33 CEST 2020


vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Tue Jun 23 11:13:42 2020 +0200| [68101ad73d1b19bcbf0d366698f62556c0b20633] | committer: Steve Lhomme

package: win32: copy the .dll.a into th .lib equivalent

The .dll.a files can be used by MSVC which prefers .lib files.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=68101ad73d1b19bcbf0d366698f62556c0b20633
---

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

diff --git a/extras/package/win32/package.mak b/extras/package/win32/package.mak
index e31dad9e19..aa1c44a1a9 100644
--- a/extras/package/win32/package.mak
+++ b/extras/package/win32/package.mak
@@ -23,6 +23,8 @@ endif
 
 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'
 	touch $@
 
 package-win-sdk: package-win-install



More information about the vlc-commits mailing list