I've been able to compile a shared build of x264 on Windows using MinGW / msys, and following instructions from another site I was able to extract a .def file and create a .lib file along with the DLL. The .lib file allows me to link with the library in Visual Studio, but the DLL is still required for run time.
Is there a way to build a standalone x264.lib file that can be linked into a Windows application, without any external dependencies?