Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpc-hc/LAVFilters.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHendrik Leppkes <h.leppkes@gmail.com>2016-03-09 16:47:52 +0300
committerHendrik Leppkes <h.leppkes@gmail.com>2016-03-09 16:47:52 +0300
commitcd8b136e195e8bee19f1e23ab9ff1179b117b9ba (patch)
treef9423beb8626fb2682a44fc21e4840f35d58766c /build_ffmpeg_msvc.sh
parent5559d26a840c11e79f8e40e4cac4180add4e04e3 (diff)
Build MSVC ffmpeg binaries against the DLL version of the CRT
Diffstat (limited to 'build_ffmpeg_msvc.sh')
-rw-r--r--build_ffmpeg_msvc.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/build_ffmpeg_msvc.sh b/build_ffmpeg_msvc.sh
index 58eb70b6..9026a2c5 100644
--- a/build_ffmpeg_msvc.sh
+++ b/build_ffmpeg_msvc.sh
@@ -86,6 +86,9 @@ configure() (
OPTIONS="${OPTIONS} --enable-debug"
EXTRA_CFLAGS="${EXTRA_CFLAGS} -MDd"
EXTRA_LDFLAGS="${EXTRA_LDFLAGS} -NODEFAULTLIB:libcmt"
+ else
+ EXTRA_CFLAGS="${EXTRA_CFLAGS} -MD"
+ EXTRA_LDFLAGS="${EXTRA_LDFLAGS} -NODEFAULTLIB:libcmt"
fi
sh configure --toolchain=msvc --extra-cflags="${EXTRA_CFLAGS}" --extra-ldflags="${EXTRA_LDFLAGS}" ${OPTIONS}