[vlc-devel] [PATCH 3.0 03/10] package: win32: copy the .dll.a into th .lib equivalent

Steve Lhomme robux4 at ycbcr.xyz
Fri Aug 21 13:40:57 CEST 2020


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>
---
 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
-- 
2.26.2



More information about the vlc-devel mailing list