diff options
author | Martin Storsjö <martin@martin.st> | 2011-03-21 22:41:38 +0200 |
---|---|---|
committer | Reinhard Tartler <siretart@tauware.de> | 2011-03-22 12:42:56 +0100 |
commit | 52f9b632b57a64ff058018c9b886ce6e918bbda9 (patch) | |
tree | c1497d66f8b14cc59597bc827c92324d4ab25281 /configure | |
parent | 79e0cbae33350437c30c65a1e2c2c8b41ef92c62 (diff) | |
download | ffmpeg-52f9b632b57a64ff058018c9b886ce6e918bbda9.tar.gz |
configure: Add the -D parameter to the dlltool command
This is required for the generated .lib file to actually
be usable by MSVC.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
(cherry picked from commit 77e41e047dc487e318a0a47e02cfa99d25459b8a)
Signed-off-by: Reinhard Tartler <siretart@tauware.de>
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2216,7 +2216,7 @@ case $target_os in SLIBSUF=".dll" SLIBNAME_WITH_VERSION='$(SLIBPREF)$(FULLNAME)-$(LIBVERSION)$(SLIBSUF)' SLIBNAME_WITH_MAJOR='$(SLIBPREF)$(FULLNAME)-$(LIBMAJOR)$(SLIBSUF)' - SLIB_EXTRA_CMD=-'$(DLLTOOL) -m $(LIBTARGET) -d $$(@:$(SLIBSUF)=.def) -l $(SUBDIR)$(SLIBNAME_WITH_MAJOR:$(SLIBSUF)=.lib)' + SLIB_EXTRA_CMD=-'$(DLLTOOL) -m $(LIBTARGET) -d $$(@:$(SLIBSUF)=.def) -l $(SUBDIR)$(SLIBNAME_WITH_MAJOR:$(SLIBSUF)=.lib) -D $(SLIBNAME_WITH_MAJOR)' SLIB_INSTALL_EXTRA_CMD='-install -m 644 $(SUBDIR)$(SLIBNAME_WITH_MAJOR:$(SLIBSUF)=.lib) "$(SHLIBDIR)/$(SLIBNAME:$(SLIBSUF)=.lib)"; \ install -m 644 $(SUBDIR)$(SLIBNAME_WITH_MAJOR:$(SLIBSUF)=.lib) "$(SHLIBDIR)/$(SLIBNAME_WITH_MAJOR:$(SLIBSUF)=.lib)"; \ install -d "$(LIBDIR)"; \ |