[vlc-devel] [PATCH 2/4] package: win32: copy the .dll.a into th .lib equivalent
Steve Lhomme
robux4 at ycbcr.xyz
Tue Jun 23 13:57:28 CEST 2020
The .dll.a files can be used by MSVC which prefers .lib files.
---
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 e31dad9e19c..aa1c44a1a9d 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
--
2.26.2
More information about the vlc-devel
mailing list