title: Proper build options for deploying app that uses external lib
body: <p>I'm trying to make a small C++ program that retreives a webpage and makes some manipulations. I want <code>cURL</code> to get the content of my site. I downloaded <a href="http://curl.haxx.se/dlwiz/?type=lib&amp;os=Win32&amp;flav=-" rel="nofollow noreferrer">libcurl</a>.</p>
  
  <p>My IDE is Code::Blocks.
  I've added the following parameters to my project build options:</p>
  
  <p><img src="https://i.stack.imgur.com/17xxQ.png" alt="enter image description here"></p>
  
  <p>It runs well, but only in IDE. When I try to run my executable from explorer.exe, I get a message saying that I cannot run programm because of missing <code>libcurl.dll</code>. How to resolve this?</p>
  
  <p>My compiler is MinGW.</p>