[vlc-commits] Build and package libvlc(core).lib

Rafaël Carré git at videolan.org
Fri Nov 11 22:12:04 CET 2011


vlc | branch: master | Rafaël Carré <funman at videolan.org> | Fri Nov 11 16:11:31 2011 -0500| [bcfe549ef0a303c3e24b4099e69bc1815a5e0aaf] | committer: Rafaël Carré

Build and package libvlc(core).lib

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

 Makefile.am |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index 17d0082..0283286 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -758,7 +758,11 @@ endif
 	cp -r $(destdir)/include "$(win32_destdir)/sdk"
 	cp -r $(destdir)/lib/pkgconfig "$(win32_destdir)/sdk/lib"
 	for file in libvlc.dll.a libvlc.la libvlccore.dll.a libvlccore.la; do \
-        cp -rv $(destdir)/lib/$$file "$(win32_destdir)/sdk/lib"; done
+		cp -rv $(destdir)/lib/$$file "$(win32_destdir)/sdk/lib"; \
+	done
+	$(DLLTOOL) -l "$(win32_destdir)/sdk/lib/libvlc.lib" -d "$(top_builddir)/lib/.libs/libvlc.dll.def" "$(destdir)/bin/libvlc.dll"
+	$(DLLTOOL) -l "$(win32_destdir)/sdk/lib/libvlccore.lib" -d "$(top_builddir)/src/.libs/libvlccore.dll.def" "$(destdir)/bin/libvlccore.dll"
+
 if !HAVE_WIN64
 if !HAVE_WINCE
 	mkdir -p "$(win32_destdir)/sdk/activex"



More information about the vlc-commits mailing list