summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2006-08-03 16:27:30 +0000
committerDiego Biurrun <diego@biurrun.de>2006-08-03 16:27:30 +0000
commit5cb854e1c68330f5dd0ca13cabb2a9a58b53b7eb (patch)
tree9fb5de3750bfb6fb12af196434a9f6f678e11d4e /configure
parent2965f17b4fd371438fbc2cb401f1562cdda6df5b (diff)
Move MinGW special casing for shared lib creation to configure.
Originally committed as revision 5921 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure b/configure
index d281267a70..30ce3d51c8 100755
--- a/configure
+++ b/configure
@@ -884,6 +884,7 @@ EOF
EXESUF=".exe"
SLIBNAME_WITH_VERSION='$(SLIBPREF)$(NAME)-$(LIBVERSION)$(SLIBSUF)'
SLIBNAME_WITH_MAJOR='$(SLIBPREF)$(NAME)-$(LIBMAJOR)$(SLIBSUF)'
+ SLIB_EXTRA_CMD='-lib /machine:i386 /def:$(@:.dll=.def)'
if test "$force_prefix" != yes; then PREFIX="$PROGRAMFILES/FFmpeg"; fi
if test "$force_libdir" != yes; then bindir="$PREFIX"; fi
fi
@@ -1739,6 +1740,7 @@ if test "$lshared" = "yes" ; then
echo "SLIBNAME=${SLIBNAME}" >> config.mak
echo "SLIBNAME_WITH_VERSION=${SLIBNAME_WITH_VERSION}" >> config.mak
echo "SLIBNAME_WITH_MAJOR=${SLIBNAME_WITH_MAJOR}" >> config.mak
+ echo "SLIB_EXTRA_CMD=${SLIB_EXTRA_CMD}" >> config.mak
fi
echo "EXTRALIBS=$extralibs" >> config.mak