[vlc-commits] win32: Don't pass the built dll to dlltool when creating the import library
Martin Storsjö
git at videolan.org
Wed Feb 28 10:59:03 CET 2018
vlc | branch: master | Martin Storsjö <martin at martin.st> | Wed Feb 28 09:30:19 2018 +0200| [86d68171643e9c36ef16d4d0e22dcd947a96ad9d] | committer: Martin Storsjö
win32: Don't pass the built dll to dlltool when creating the import library
The def file generated by the linker is enough input to dlltool;
this doesn't change the output import library at all.
This fixes building with llvm-dlltool, which doesn't support
providing object files/dlls, it only supports reading from a def file
(which these commands already did anyway).
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=86d68171643e9c36ef16d4d0e22dcd947a96ad9d
---
extras/package/win32/package.mak | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/extras/package/win32/package.mak b/extras/package/win32/package.mak
index ad6c7eb5a7..740254a1a1 100644
--- a/extras/package/win32/package.mak
+++ b/extras/package/win32/package.mak
@@ -33,9 +33,9 @@ package-win-sdk:
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 libvlc.dll -l "$(win32_destdir)/sdk/lib/libvlc.lib" -d "$(top_builddir)/lib/.libs/libvlc.dll.def"
echo "INPUT(libvlc.lib)" > "$(win32_destdir)/sdk/lib/vlc.lib"
- $(DLLTOOL) -D libvlccore.dll -l "$(win32_destdir)/sdk/lib/libvlccore.lib" -d "$(top_builddir)/src/.libs/libvlccore.dll.def" "$(prefix)/bin/libvlccore.dll"
+ $(DLLTOOL) -D libvlccore.dll -l "$(win32_destdir)/sdk/lib/libvlccore.lib" -d "$(top_builddir)/src/.libs/libvlccore.dll.def"
echo "INPUT(libvlccore.lib)" > "$(win32_destdir)/sdk/lib/vlccore.lib"
package-win-common: package-win-install package-win-sdk
More information about the vlc-commits
mailing list