title: crypto library not found in MinGW
body: <p>I have a <code>C</code> code that uses <code>openssl</code> and <code>crypto</code> to do <code>AES</code> encryption.<br>
  It compiles in linux without problem.<br>
  But in windows and with <code>MinGW</code> it gives:  </p>
  
  <pre><code>c:/mingw/bin/../lib/gcc/mingw32/4.8.1/../../../../mingw32/bin/ld.exe: cannot find -lcrypto
  collect2.exe: error: ld returned 1 exit status
  </code></pre>
  
  <p>I'm compiling using this: </p>
  
  <pre><code>gcc code.c -lcrypto -Ic:\OpenSSL-Win32\include -Lc:\mingw\msys\1.0\local\lib
  </code></pre>
  
  <p>What is the problem?</p>