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

Steve Lhomme git at videolan.org
Thu Aug 27 09:37:20 CEST 2020


vlc/vlc-3.0 | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Tue Jun 23 11:13:42 2020 +0200| [315054674a87b6283b2041441b9cae084b618b78] | 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.

(cherry picked from commit 68101ad73d1b19bcbf0d366698f62556c0b20633)

Signed-off-by: Steve Lhomme <robux4 at ycbcr.xyz>

> http://git.videolan.org/gitweb.cgi/vlc/vlc-3.0.git/?a=commit;h=315054674a87b6283b2041441b9cae084b618b78
---

 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 c307da804c..048a1dbf93 100644
--- a/extras/package/win32/package.mak
+++ b/extras/package/win32/package.mak
@@ -24,6 +24,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