MINGW cannot find -laxtls lib when configure with curl is used
<p>I am running configure step in order to build cURL 7.51.10 with OpenSSL support. </p>

<pre><code>LIBS="-ldl" ./configure --with-ssl
</code></pre>

<p>Configure fails to enable SSL because of this step</p>

<pre><code>configure:25115: checking for ssl_version in -laxtls
configure:25137: gcc -o conftest.exe -O2 -Wno-system-headers -isystem /c/Build-OpenSSL-VC-64/include/
-isystem /g/Library/zlib-1.2.8/ -L/c//Build-OpenSSL-VC-64/lib/ -L/g/Library/zlib-1.2.8/Out/Win64/Debug/
-L/lib/ conftest.c -laxtls  -lwldap32 -lws2_32 -ldl &gt;&amp;5
c:/mingw/bin/../lib/gcc/mingw32/5.3.0/../../../../mingw32/bin/ld.exe: cannot find -laxtls
collect2.exe: error: ld returned 1 exit status
</code></pre>

<p>Has anyone overcome this issue ?</p>