aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2011-03-21 22:41:38 +0200
committerReinhard Tartler <siretart@tauware.de>2011-03-22 12:42:56 +0100
commit52f9b632b57a64ff058018c9b886ce6e918bbda9 (patch)
treec1497d66f8b14cc59597bc827c92324d4ab25281 /configure
parent79e0cbae33350437c30c65a1e2c2c8b41ef92c62 (diff)
downloadffmpeg-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-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index a1afb0d0c1..eb66ec4c0f 100755
--- a/configure
+++ b/configure
@@ -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)"; \