Fix curl dynamic loading on windows
authorRaoul Hecky <raoul.hecky@gmail.com>
Tue, 3 Jun 2014 16:09:14 +0000 (18:09 +0200)
committerRaoul Hecky <raoul.hecky@gmail.com>
Tue, 3 Jun 2014 16:09:14 +0000 (18:09 +0200)
With win-builds.org curl dll name is libcurl-4.dll. Try to load this
correct filename first

src/lib/ecore_con/ecore_con_url.c

index 23bc07c..baaef1c 100644 (file)
@@ -270,6 +270,7 @@ _c_init(void)
          }                                    \
     }
 #if defined(_WIN32) || defined(__CYGWIN__)
+   LOAD("libcurl-4.dll"); // try correct dll first
    LOAD("libcurl.dll"); // try 1
    LOAD("curllib.dll"); // if fail try 2
 #elif defined(__APPLE__) && defined(__MACH__)