[vlc-commits] win32: use gcc import lib instead of using gendef and dlltool

Rafaël Carré git at videolan.org
Thu Apr 4 17:54:57 CEST 2013


vlc | branch: master | Rafaël Carré <funman at videolan.org> | Thu Apr  4 17:54:07 2013 +0200| [ab72243a1f115d69a2549c88ffc470bd078028d9] | committer: Rafaël Carré

win32: use gcc import lib instead of using gendef and dlltool

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

 extras/package/win32/package.mak |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/extras/package/win32/package.mak b/extras/package/win32/package.mak
index 564a33c..8710e6f 100644
--- a/extras/package/win32/package.mak
+++ b/extras/package/win32/package.mak
@@ -73,7 +73,9 @@ endif
 	mkdir -p "$(win32_destdir)/sdk/lib/"
 	cp -r $(prefix)/include "$(win32_destdir)/sdk"
 	cp -r $(prefix)/lib/pkgconfig "$(win32_destdir)/sdk/lib"
-	cd $(prefix)/lib && cp -rv libvlc.dll.a libvlc.la libvlccore.dll.a libvlccore.la "$(win32_destdir)/sdk/lib/"
+	cd $(prefix)/lib && cp -rv libvlc.la libvlccore.la "$(win32_destdir)/sdk/lib/"
+	cd $(prefix)/lib && cp -rv libvlc.dll.a "$(win32_destdir)/sdk/lib/libvlc.lib"
+	cd $(prefix)/lib && cp -rv libvlccore.dll.a "$(win32_destdir)/sdk/lib/libvlccore.lib"
 	$(DLLTOOL) -D libvlc.dll -l "$(win32_destdir)/sdk/lib/libvlc.lib" -d "$(top_builddir)/lib/.libs/libvlc.dll.def" "$(prefix)/bin/libvlc.dll"
 	$(DLLTOOL) -D libvlccore.dll -l "$(win32_destdir)/sdk/lib/libvlccore.lib" -d "$(top_builddir)/src/.libs/libvlccore.dll.def" "$(prefix)/bin/libvlccore.dll"
 



More information about the vlc-commits mailing list