summaryrefslogtreecommitdiff
path: root/doc/general.texi
diff options
context:
space:
mode:
Diffstat (limited to 'doc/general.texi')
-rw-r--r--doc/general.texi6
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/general.texi b/doc/general.texi
index 92bcc0d50d..346f25de9e 100644
--- a/doc/general.texi
+++ b/doc/general.texi
@@ -1009,6 +1009,12 @@ libavutil/pixdesc.h you should have:
extern __declspec(dllimport) const AVPixFmtDescriptor av_pix_fmt_descriptors[];
@end example
+Note that using import libraries created by dlltool requires
+the linker optimization option to be set to
+"References: Keep Unreferenced Data (/OPT:NOREF)", otherwise
+the resulting binaries will fail during runtime. This isn't
+required when using import libraries generated by lib.exe.
+
@subsection Cross compilation for Windows with Linux
You must use the MinGW cross compilation tools available at