Ok,
I somehow picked enough info to make it, so if others are interested here is what I did:
(note this is for building rtmpdump + librtmp).
1) Download and install MinGW ("A native Windows port of the GNU Compiler Collection (GCC)"):
here
2) Get rtmpdump from
here and put it somewhere on your PC (like c:\rtmpdump)
3) Get OpenSSL developer from
here (look for the download that says "Recommended for software developers", it is ~16MB), and install it somewhere (like c:\openssl).
4) Get the ZLib developer files from
here and extract it somewhere (like c:\zlib)
5) Go to your <rtmpdump> folder and open the file "Makefile" (no extension), look for the line that starts "LIB_OPENSSL=", and replace it with
"LIB_OPENSSL=-llibeay32 -lssleay32 $(LIBZ)" (without the quotes, also you can add this line and comment the original line putting # at the beginning).
6) Go to <rtmpdump>/librtmp folder, open the "Makefile" and do the same (change LIB_OPENSSL).
7) Open mingw32 command prompt
8) Now we need to define 2 variables that will point to the OpenSSL and ZLib:
export XCFLAGS="-I/c/tools/OpenSSL-Win32/include -I/c/tools/zlib/include"
export XLDFLAGS="-L/c/tools/OpenSSL-Win32/lib -L/c/tools/zlib/lib"
NOTE: replace the path to the OpenSSL and zlib folders according to where you put it (I put it under c:\tools\...).
9) Navigate to your rtmpdump folder:
cd <rtmpdump folder>
10) Compile and link using this command:
make install SYS=mingw
11) All output files will be under: <MinGW root folder>\msys\1.0\local\bin and <MinGW root folder>\msys\1.0\local\sbin
This
blog post contains some info...
That's it, worked for me !