summaryrefslogtreecommitdiff
path: root/libavutil
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2013-08-08 17:16:26 +0300
committerMartin Storsjö <martin@martin.st>2013-08-10 00:53:25 +0300
commit33237123c83bf4f8345e6ac889ad2e7dbd303d0e (patch)
treed64c402cfcad7196c7b652b0137df0f7e8c6fa4d /libavutil
parent9d5ec50ead97e088d77317e77b18cef06cb3d053 (diff)
downloadffmpeg-33237123c83bf4f8345e6ac889ad2e7dbd303d0e.tar.gz
libavutil: Enable the MSVC DLL symbol loading workaround in shared builds as well
This used to only be necessary in static builds (when using the dynamically linked C runtime), since the _imp prefixed symbols do exist when linking to the actual DLL. When building testprogs, however, the current library (e.g. libavutil for some of the testprogs) is linked statically. This fixes make fate on DLL builds when using the dynamically linked C runtime. Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavutil')
-rw-r--r--libavutil/internal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavutil/internal.h b/libavutil/internal.h
index cb3a8f5f12..355a42a7b4 100644
--- a/libavutil/internal.h
+++ b/libavutil/internal.h
@@ -119,7 +119,7 @@
#include "libm.h"
-#if defined(_MSC_VER) && !CONFIG_SHARED
+#if defined(_MSC_VER)
#pragma comment(linker, "/include:"EXTERN_PREFIX"avpriv_strtod")
#pragma comment(linker, "/include:"EXTERN_PREFIX"avpriv_snprintf")
#endif