]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* libltdl/ltdl.c: Use windows paths while calling LoadLibrary.
authorEdward M. Lee <tailbert@yahoo.com>
Sat, 31 Mar 2001 11:08:47 +0000 (11:08 +0000)
committerGary V. Vaughan <gary@gnu.org>
Sat, 31 Mar 2001 11:08:47 +0000 (11:08 +0000)
ChangeLog
libltdl/ltdl.c

index 91e90c7287ffebea024b3686624b0c5f9dcc7f4e..e056fc348679ddd725a9682db26d685b7ce84497 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -14,6 +14,8 @@
        ../bin/cygFOO-version.dll for normal dlls. dlls for modules
        remain with the .la file.
 
+       * libltdl/ltdl.c:  Use windows paths while calling LoadLibrary.
+       
 2001-03-22  Laurynas Biveinis  <lauras@softhome.net>
 
        * ltcf-c.sh: Clear ac_cv_prog_cc_pic for DJGPP.  Do not add
index 79b32c4a286c42e3b222b39471526a0c61c878d3..ee7cc3f022c9d3da0db158504b3c10480514ff6f 100644 (file)
@@ -798,7 +798,15 @@ sys_wll_open (loader_data, filename)
       strcat (searchname, ".");
     }
 
+#if __CYGWIN__
+  {
+    char wpath[MAX_PATH];
+    cygwin_conv_to_full_win32_path(searchname, wpath);
+    module = LoadLibrary(wpath);
+  }
+#else
   module = LoadLibrary (searchname);
+#endif
   LT_DLFREE (searchname);
 
   /* libltdl expects this function to fail if it is unable